W3cubDocs

/nginx

Compatibility

njs is created in compliance with ECMAScript 5.1 (strict mode) with some ECMAScript 6 and later extensions. The compliance is still evolving.

What is currently supported

What is not supported yet

  • ES6 let and const declarations
  • labels
  • eval function
  • new Function() constructor
  • setInterval, setImmediate functions

© 2002-2018 Igor Sysoev
© 2011-2018 Nginx, Inc.
Licensed under the BSD License.
https://nginx.org/en/docs/njs/compatibility.html