Name Description Size
Array-inl.h 1101
Array.cpp 124136
Array.h JS Array interface. 8828
Array.js , fromIndex 30874
AsyncFunction.js 623
AsyncIteration.js ECMA262 7.4.7 AsyncIteratorClose 14235
AtomicsObject.cpp JS Atomics pseudo-module. See chapter 24.4 "The Atomics Object" and chapter 27 "Memory Model" in ECMAScript 2021 for the full specification. 33782
AtomicsObject.h 5140
BigInt.cpp !JS_HAS_INTL_API 6585
BigInt.h 1745
BigInt.js Format this BigInt object into a string, using the locale and formatting options provided. Spec PR: https://github.com/tc39/ecma402/pull/236 1402
Boolean-inl.h namespace js 1011
Boolean.cpp JS boolean implementation. 5035
Boolean.h JS boolean interface. 625
DataViewObject.cpp bytesPerElement = 31984
DataViewObject.h 6481
Date.js Get a cached DateTimeFormat formatter object, created like so: var opts = ToDateTimeOptions(undefined, required, defaults); return new Intl.DateTimeFormat(undefined, opts); |format| must be a key from the "formatters" Record described above. 6326
embedjs.py \ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ namespace js { namespace %(namespace)s { static const %(sources_type)s data[] = { %(sources_data)s }; static const %(sources_type)s * const %(sources_name)s = reinterpret_cast<const %(sources_type)s *>(data); uint32_t GetCompressedSize() { return %(compressed_total_length)i; } uint32_t GetRawScriptsSize() { return %(raw_total_length)i; } } // selfhosted } // js 7040
Error.js ES6 20140718 draft 19.5.3.4. 853
Eval.cpp static 18038
Eval.h builtin_Eval_h 1357
FinalizationRegistryObject.cpp static 27827
FinalizationRegistryObject.h 11469
Function.js bind_bindFunction{0,1,2} are special cases of the generic bind_bindFunctionN below. They avoid the need to merge the lists of bound arguments and call arguments to the bound function into a new list which is then used in a destructuring call of the bound function. All three of these functions again have special-cases for call argument counts between 0 and 5. For calls with 6+ arguments, all - bound and call - arguments are copied into an array before invoking the generic call and construct helper functions. This avoids having to use rest parameters and destructuring in the fast path. Directly embedding the for-loop to combine bound and call arguments may inhibit inlining of the bound function, so we use a separate combiner function to perform this task. This combiner function is created lazily to ensure we only pay its construction cost when needed. All bind_bindFunction{X} functions have the same signature to enable simple reading out of closed-over state by debugging functions. Note: We use the '$' prefix on the function to force it to be an extended function so that `finishBoundFunctionInit` can track length. 13540
Generator.js 2835
HandlerFunction-inl.h Handler for operations that act on a target object, and possibly upon an extra value. 3947
intl 45
Iterator.js ECMA262 7.2.7 18366
JSON.cpp ES5 15.12.3 Quote. Requires that the destination has enough space allocated for src after escaping (that is, `2 + 6 * (srcEnd - srcBegin)` characters). 33572
JSON.h If maybeSafely is true, Stringify will attempt to assert the API requirements of JS::ToJSONMaybeSafely as it traverses the graph, and will not try to invoke .toJSON on things as it goes. 1267
Map.js 3852
MapObject.cpp HashableValue ********************************************************* 56762
MapObject.h Comparing two ropes for equality can fail. The js::HashTable template requires infallible hash() and match() operations. Therefore we require all values to be converted to hashable form before being used as a key in a Map or Set object. All values except ropes are hashable as-is. 15904
Module.js 28681
ModuleObject.cpp static 94295
ModuleObject.h 18841
Number.js Format this Number object into a string, using the locale and formatting options provided. Spec: ECMAScript Language Specification, 5.1 edition, 15.7.4.3. Spec: ECMAScript Internationalization API Specification, 13.2.1. 3057
Object.cpp Make an object whether this was called with 'new' or not. 63579
Object.h Like IdToValue, but convert int jsids to strings. This is used when exposing a jsid to script for Object.getOwnProperty{Names,Symbols} or scriptable proxy traps. 2447
Object.js ES6 draft rev 32 (2015 Feb 2) 19.1.2.9. 10138
Profilers.cpp Profiling-related API 15511
Profilers.h Functions for controlling profilers from within JS: Valgrind, Perf, etc 2758
Promise-inl.h Given a settled (i.e. fulfilled or rejected, not pending) promise, sets |promise.[[PromiseIsHandled]]| to true and removes it from the list of unhandled rejected promises. NOTE: If you need to set |promise.[[PromiseIsHandled]]| on a pending promise, use |PromiseObject::setHandled()| directly. 1297
Promise.cpp 207475
Promise.h Unforgeable version of the JS builtin Promise.all. Takes a HandleValueVector of Promise objects and returns a promise that's resolved with an array of resolution values when all those promises have been resolved, or rejected with the rejection value of the first rejected promise. Asserts that all objects in the `promises` vector are, maybe wrapped, instances of `Promise` or a subclass of `Promise`. 9103
Promise.js 2229
Reflect.cpp Reflect methods ******************************************************* 6922
Reflect.h builtin_Reflect_h 944
Reflect.js , newTarget 5586
ReflectParse.cpp JS reflection package. 128637
RegExp.cpp Implements RegExpBuiltinExec: Steps 18-35 https://tc39.es/ecma262/#sec-regexpbuiltinexec 68206
RegExp.h The following builtin natives are extern'd for pointer comparison in other parts of the engine. 6662
RegExp.js 38960
RegExpGlobalReplaceOpt.h.js 4677
RegExpLocalReplaceOpt.h.js 4269
SelfHostingDefines.h 5093
Set.js 3330
Sorting.js eslint-disable comma-spacing 15320
Stream.cpp 3.3. ReadableStreamAsyncIteratorPrototype ***************************** 29395
Stream.h builtin_Stream_h 1114
streams 48
String.cpp Forward declarations for URI encode/decode and helper routines 130398
String.h Initialize the String class, returning its prototype object. 3516
String.js A helper function implementing the logic for both String.prototype.padStart and String.prototype.padEnd as described in ES7 Draft March 29, 2016 32014
Symbol.cpp 7509
Symbol.h Stores this Symbol object's [[PrimitiveValue]]. 2434
TestingFunctions.cpp 259210
TestingFunctions.h namespace js 1438
TestingUtility.cpp 2856
TestingUtility.h namespace js 1575
TypedArray.js Steps 3-5 (non-wrapped typed arrays). 51563
TypedArrayConstants.h 834
Utilities.js List / Record specification types ********* 6731
WeakMap.js 806
WeakMapObject-inl.h builtin_WeakMapObject_inl_h 1941
WeakMapObject.cpp static 9556
WeakMapObject.h builtin_WeakMapObject_h 2474
WeakRefObject.cpp static 10435
WeakRefObject.h builtin_WeakRefObject_h 1277
WeakSet.js 638
WeakSetObject.cpp static 7430
WeakSetObject.h builtin_WeakSetObject_h 1866
.eslintrc.js 792