Compatibility

This page describes the njs JavaScript engine only. The njs engine is deprecated since 1.0.0; new code should use the QuickJS engine instead.

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

Definitions of njs specific properties and methods not compliant with ECMAScript can be found in Reference. Definitions of njs properties and methods compliant with ECMAScript can be found in ECMAScript specification.

What is currently supported