1. document.currentScript

    `document.currentScript` returns the `<script>` element whose script is currently being processed.

  2. ECMAScript 5

    Full support for the ECMAScript 5 specification. Features include `Function.prototype.bind`, Array methods like `indexOf`, `forEach`, `map` & `filter`, Object methods like `defineProperty`, `create` & `keys`, the `trim` method on Strings and many more.

  3. ECMAScript 2015 (ES6)

    Support for the ECMAScript 2015 specification. Features include Promises, Modules, Classes, Template Literals, Arrow Functions, Let and Const, Default Parameters, Generators, Destructuring Assignment, Rest & Spread, Map/Set & WeakMap/WeakSet and many more.

  4. JavaScript modules via script tag

    Loading JavaScript module scripts (aka ES6 modules) using `<script type="module">` Includes support for the `nomodule` attribute.

  5. JavaScript modules: dynamic import()

    Loading JavaScript modules dynamically using the import() syntax

  6. async attribute for external scripts

    The boolean async attribute on script elements allows the external JavaScript file to run when it's available, without delaying page load first.

  7. defer attribute for external scripts

    The boolean defer attribute on script elements allows the external JavaScript file to run when the DOM is loaded, without delaying page load first.

  8. Efficient Script Yielding: setImmediate()

    Yields control flow without the minimum delays enforced by setTimeout

  9. ECMAScript 5 Strict Mode

    Method of placing code in a "strict" operating context.

  10. document api: scripts

  11. scriptprocessornode api

  12. scriptprocessornode api: `audioprocess` event

  13. scriptprocessornode api: buffersize

  14. serviceworker api: scripturl

  15. css at-rule: `@media`: `scripting` media feature

  16. html element: script

  17. html element: script: blocking

  18. html element: script: crossorigin

  19. html element: script: fetchpriority

  20. html element: script: integrity

  21. html element: script: language

  22. html element: script: nomodule

  23. html element: script: referrerpolicy

  24. html element: script: src

  25. html element: script: text

  26. html element: script: type

  27. html element: script: type: importmap

  28. html element: script: type: module

  29. headers http header: content-security-policy: script-src

  30. headers http header: content-security-policy: script-src-attr

  31. headers http header: content-security-policy: script-src-elem

  32. headers http header: content-security-policy: script-src: external scripts with hash

  33. headers http header: content-security-policy: script-src: source expression allowing webassembly execution

  34. javascript built-in: intl

  35. javascript built-in: map

  36. javascript built-in: math

  37. javascript built-in: nan

  38. javascript built-in: set

  39. javascript function

  40. javascript function: get

  41. javascript function: set

  42. javascript operator: in

  43. javascript operator: new

  44. javascript statement: let

  45. svg element: script

  46. svg element: script: async

  47. svg element: script: defer

  48. svg element: script: type

  49. svg element: script: type: `type='module'`

  50. svg element: script: xlink:href