3 ms·
You can use JSDoc (or a derivative thereof) in plain JS and get hints in the editor. Never used it myself though. Anyway, ES modules have good browser support
by gherkinnn 4y ago
You can use JSDoc (or a derivative thereof) in plain JS and get hints in the editor. Never used it myself though.
Anyway, ES modules have good browser support these days:
https://caniuse.com/es6-module-dynamic-import https://caniuse.com/es6-module-dynamic-import