by qwerty456127 · 3y ago · 0 comments
Ohh, sorry, you mean JavaScript... const is the new var because Java programmers don't understand function scope. ()=>{} is the new function declaration because many people want to go back to Perl like syntax. class instead of prototype because Java programmers don't understand prototype. TypeScript instead of JavaScript because Java programmers can't live without type annotations and editor autocomplete. async/await instead of Promise because what we can't see (async code) can't hurt us. import instead of require because JetBean intellicense could not autocomplete dynamic require/imports.