aboutsummaryrefslogtreecommitdiff
path: root/jerry-core/profiles/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'jerry-core/profiles/README.md')
-rw-r--r--jerry-core/profiles/README.md33
1 files changed, 28 insertions, 5 deletions
diff --git a/jerry-core/profiles/README.md b/jerry-core/profiles/README.md
index cb713e3c..fc1216cb 100644
--- a/jerry-core/profiles/README.md
+++ b/jerry-core/profiles/README.md
@@ -98,39 +98,62 @@ defined to `1`.
#### ES2015+ features
+* `JERRY_BUILTIN_BIGINT`:
+ Enables or disables the [BigInt](https://262.ecma-international.org/11.0/#sec-ecmascript-language-types-bigint-type) syntax and built-in.
* `JERRY_BUILTIN_DATAVIEW`:
Enables or disables the [DataView](https://www.ecma-international.org/ecma-262/6.0/#sec-dataview-objects) built-in.
* `JERRY_BUILTIN_MAP`:
Enables or disables the [Map](http://www.ecma-international.org/ecma-262/6.0/#sec-keyed-collection) built-ins.
-* `JERRY_BUILTIN_SET`:
- Enables or disables the [Set](https://www.ecma-international.org/ecma-262/6.0/#sec-set-objects) built-in.
* `JERRY_BUILTIN_PROMISE`:
Enables or disables the [Promise](http://www.ecma-international.org/ecma-262/6.0/#sec-promise-objects) built-in.
+* `JERRY_BUILTIN_PROXY`:
+ Enables or disables the [Proxy](https://262.ecma-international.org/11.0/#sec-proxy-object-internal-methods-and-internal-slots) related internal workings and built-in.
+* `JERRY_BUILTIN_REALMS`:
+ Enables or disables the [Realms](https://262.ecma-international.org/11.0/#sec-code-realms) support in the engine.
+* `JERRY_BUILTIN_REFLECT`:
+ Enables or disables the [Reflext](https://262.ecma-international.org/11.0/#sec-reflect-object) built-in.
+* `JERRY_BUILTIN_SET`:
+ Enables or disables the [Set](https://www.ecma-international.org/ecma-262/6.0/#sec-set-objects) built-in.
* `JERRY_BUILTIN_TYPEDARRAY`:
Enables or disables the [ArrayBuffer](http://www.ecma-international.org/ecma-262/6.0/#sec-arraybuffer-objects) and [TypedArray](http://www.ecma-international.org/ecma-262/6.0/#sec-typedarray-objects) built-ins.
+* `JERRY_BUILTIN_WEAKMAP`:
+ Enables or disables the [WeakMap](https://262.ecma-international.org/11.0/#sec-weakmap-objects) built-in.
+* `JERRY_BUILTIN_WEAKSET`:
+ Enables or disables the [WeakSet](https://262.ecma-international.org/11.0/#sec-weakmap-objects) built-in.
* `JERRY_MODULE_SYSTEM`:
Enables or disable the [module system](http://www.ecma-international.org/ecma-262/6.0/#sec-modules) language element.
-* `JERRY_ESNEXT`: Enables or disables all of the implemented [ECMAScript2015+ features](http://www.ecma-international.org/ecma-262/10.0/).
+* `JERRY_ESNEXT`: Enables or disables all of the implemented [ECMAScript2015+ features](http://www.ecma-international.org/ecma-262/10.0/) above.
* [arrow functions](http://www.ecma-international.org/ecma-262/6.0/#sec-arrow-function-definitions) language element.
+ * [async functions](https://262.ecma-international.org/11.0/#sec-async-function-definitions) language element.
* [class](https://www.ecma-international.org/ecma-262/6.0/#sec-class-definitions) language element.
* [default value](http://www.ecma-international.org/ecma-262/6.0/#sec-function-definitions) for formal parameters.
* [destructuring assignment](http://www.ecma-international.org/ecma-262/6.0/#sec-destructuring-assignment) language element.
* [destructuring binding pattern](http://www.ecma-international.org/ecma-262/6.0/#sec-destructuring-binding-patterns) declarations.
* [enhanced object initializer](http://www.ecma-international.org/ecma-262/6.0/#sec-object-initializer) language element.
* [for-of](https://www.ecma-international.org/ecma-262/6.0/#sec-for-in-and-for-of-statements) language element.
+ * [for-await-of](https://262.ecma-international.org/11.0/#sec-for-in-and-for-of-statements) language element.
* [generator functions](http://www.ecma-international.org/ecma-262/6.0/#sec-generator-function-definitions) language element.
* [iterator](https://www.ecma-international.org/ecma-262/6.0/#sec-iterator-interface) built-in.
+ * [nullish coalescing](https://262.ecma-international.org/11.0/#prod-CoalesceExpression) built-in.
+ * [numeric separator](https://github.com/tc39/proposal-numeric-separator) language element.
* [rest parameter](http://www.ecma-international.org/ecma-262/6.0/#sec-function-definitions) language element.
+ * [rest operator with object destructuring](https://262.ecma-international.org/11.0/#prod-ObjectBindingPattern) language element.
+ * [spread](https://262.ecma-international.org/11.0/#prod-SpreadElement) syntax.
* [symbol](https://www.ecma-international.org/ecma-262/6.0/#sec-symbol-objects) language element.
* [template strings](http://www.ecma-international.org/ecma-262/6.0/#sec-static-semantics-templatestrings) language element.
Furthermore all builtins follow the latest ECMAScript specification including those which behave differently in ES5.1.
This option is evaulated first, any other `JERRY_<name>` defines will override that specific entry.
Equivalent with setting the following defines to the `JERRY_ESNEXT` value:
+ * `JERRY_BUILTIN_BIGINT`
* `JERRY_BUILTIN_DATAVIEW`
* `JERRY_BUILTIN_MAP`
- * `JERRY_BUILTIN_SET`
* `JERRY_BUILTIN_PROMISE`
+ * `JERRY_BUILTIN_PROXY`
+ * `JERRY_BUILTIN_REALMS`
+ * `JERRY_BUILTIN_REFLECT`
+ * `JERRY_BUILTIN_SET`
* `JERRY_BUILTIN_TYPEDARRAY`
+ * `JERRY_BUILTIN_WEAKMAP`
+ * `JERRY_BUILTIN_WEAKSET`
* `JERRY_MODULE_SYSTEM`
-