DEV Community

Discussion on: What do you imagine JavaScript looks like in 5 or 10 years?

Collapse
 
sub profile image
Sub

Most features that were essential for me are already there. async/await was the last notable addition.
I expect that within 10 years JS will accumulate some called-for features that are currently solved with transpilers and bundlers like custom module loaders and type checking.
5 years seem more or less predictable, considering current proposals and existing JS issues.
ES modules already arrived to Node and are prospering. As for listed code, you can expect that it will be written with top-level await:

import Node from 'node';
let Node = await Node.connect(/*...*/);