2 ms·
You mean like JavaScript? http://caniuse.com/#search=const http://caniuse.com/#search=const http://caniuse.com/#search=let http://caniuse.com/#search=let
by atrilumen 10y ago
You mean like JavaScript?
http://caniuse.com/#search=const http://caniuse.com/#search=const
http://caniuse.com/#search=let http://caniuse.com/#search=let
- nickthemagicman 10y agoNo I mean a REAL block scoped language! JS is cool but these are just bolted on features. Why does a function I pass into an Ajax query need a call statement? Why does 'this' have so many interpretations depending on its context? Other languages approach these in simpler ways. Functions inherit the scope in which they are executed and 'this' applies to its parent object. Also, whats up with nested asynchronous statements? I know ES6 and 7 are working on it but new languages would be ideal with new takes on solving some of the tough parts of web development.