ECMAScript Features
QuickJS-ng aims to support the latest available ECMAScript features once they hit the spec. The project focuses on delivering state-of-the-art JavaScript features, typically once they are stable (stage 4) but sometimes even at earlier stages.Feature Support
QuickJS-ng includes support for a wide range of modern ECMAScript features:Data Structures
- Resizable ArrayBuffer - Dynamic buffer resizing capabilities
- Float16Array - 16-bit floating point typed arrays
- WeakRef - Weak references to objects
- FinalizationRegistry - Cleanup callbacks when objects are garbage collected
- Set operations - Mathematical set operations
Language Features
- Iterator Helpers - Convenient methods for working with iterators
- Promise.try - Synchronous function wrapping in promises
- Error.isError - Check if a value is an Error object
Non-Standard APIs
Some non-standard but widely used APIs have also been added for compatibility:- V8’s Stack Trace API
Error.captureStackTraceError.prepareStackTraceError.stackTraceLimit
Test262 Compliance
Progress on Test262 compliance can be tracked at:Test262 Compliance Dashboard
View real-time compliance status for QuickJS-ng on Test262.fyi