News for hackers. Stuff that matters.
Re:A look at asm.js and the future with WebAssembly by huuu on Saturday January 16, 2016 @08:58AM (#10915264)
JavaScript is a single-threaded, prototype-based language with no real concept of scoped variables and the like.

Is this true?

Webworkers is a multithread concept and as far as I know all variables are scoped but maybe not like they are in C.

Re:A look at asm.js and the future with WebAssembly by dbattaglia on Saturday January 16, 2016 @09:18AM (#10915305)
I think they meant to say block scoped variables. In js everything is function scoped or global (until you get to ES 6 "let" and "const" variables).

As far as web workers, they are very restricted/isolated compared to regular shared memory threads In other languages.