bytebuffer.js
bytebuffer.js copied to clipboard
hex_encode error
what is this? It's wrong when I run this code in chrome console;
You can't run the sources directly without building them. What you are seeing there is a bit of meta programming that evaluates to specifically tailored code for either node buffers-, arraybuffer- or dataview-based versions.
Look, anything that is between /*``*/ Is a comment, therefore ignored by the language you're using. So if we are realistic, the code that errors out is in fact var value =,, and that's obviously wrong. You cannot start a declaration with ,. Comments don't run, if you wish it to run remove the /**\.