@@ -2863,13 +2863,6 @@ jerry_value_is_object (const jerry_value_t value)
2863
2863
2864
2864
Returns whether the given `jerry_value_t` is a promise value.
2865
2865
2866
- *Notes*:
2867
- - This API depends on a build option (`JERRY_ESNEXT`) and can be checked
2868
- in runtime with the `JERRY_FEATURE_PROMISE` feature enum value,
2869
- see: [jerry_feature_enabled](#jerry_feature_enabled).
2870
- - The es.next profile enables this by default.
2871
-
2872
-
2873
2866
**Prototype**
2874
2867
2875
2868
```c
@@ -2884,8 +2877,6 @@ jerry_value_is_promise (const jerry_value_t value)
2884
2877
2885
2878
*New in version 2.0*.
2886
2879
2887
- *Changed in version [[NEXT_RELEASE]]*: Build option dependency changed from `JERRY_BUILTIN_PROMISE` to `JERRY_ESNEXT`.
2888
-
2889
2880
**Example**
2890
2881
2891
2882
```c
@@ -3003,12 +2994,6 @@ jerry_value_is_string (const jerry_value_t value)
3003
2994
3004
2995
Returns whether the given `jerry_value_t` is a symbol value.
3005
2996
3006
- *Notes*:
3007
- - This API depends on a build option (`JERRY_BUILTIN_SYMBOL`) and can be checked
3008
- in runtime with the `JERRY_FEATURE_SYMBOL` feature enum value,
3009
- see: [jerry_feature_enabled](#jerry_feature_enabled).
3010
- - The es.next profile enables this by default.
3011
-
3012
2997
**Prototype**
3013
2998
3014
2999
```c
@@ -5728,11 +5713,6 @@ The function returns the result of a Promise object.
5728
5713
*Notes*:
5729
5714
- Returned value must be freed with [jerry_value_free](#jerry_value_free) when it
5730
5715
is no longer needed.
5731
- - This API depends on a build option (`JERRY_ESNEXT`) and can be checked
5732
- in runtime with the `JERRY_FEATURE_PROMISE` feature enum value,
5733
- see: [jerry_feature_enabled](#jerry_feature_enabled).
5734
- - The es.next profile enables this by default.
5735
-
5736
5716
5737
5717
**Prototype**
5738
5718
@@ -5750,8 +5730,6 @@ jerry_promise_result (const jerry_value_t promise);
5750
5730
5751
5731
*New in version 2.2*.
5752
5732
5753
- *Changed in version [[NEXT_RELEASE]]*: Build option dependency changed from `JERRY_BUILTIN_PROMISE` to `JERRY_ESNEXT`.
5754
-
5755
5733
**Example**
5756
5734
5757
5735
[doctest]: # (test="compile")
@@ -5796,11 +5774,6 @@ example (void)
5796
5774
*Notes*:
5797
5775
- Returned value must be freed with [jerry_value_free](#jerry_value_free) when it
5798
5776
is no longer needed.
5799
- - This API depends on a build option (`JERRY_ESNEXT`) and can be checked
5800
- in runtime with the `JERRY_FEATURE_PROMISE` feature enum value,
5801
- see: [jerry_feature_enabled](#jerry_feature_enabled).
5802
- - The es.next profile enables this by default.
5803
-
5804
5777
5805
5778
**Prototype**
5806
5779
@@ -5817,8 +5790,6 @@ jerry_promise_state (const jerry_value_t promise);
5817
5790
5818
5791
*New in version 2.2*.
5819
5792
5820
- *Changed in version [[NEXT_RELEASE]]*: Build option dependency changed from `JERRY_BUILTIN_PROMISE` to `JERRY_ESNEXT`.
5821
-
5822
5793
**Example**
5823
5794
5824
5795
[doctest]: # (test="compile")
@@ -6107,11 +6078,6 @@ Reject the promise with an argument.
6107
6078
*Note*:
6108
6079
- Returned value must be freed with [jerry_value_free](#jerry_value_free) when it
6109
6080
is no longer needed.
6110
- - This API depends on a build option (`JERRY_ESNEXT`) and can be checked
6111
- in runtime with the `JERRY_FEATURE_PROMISE` feature enum value,
6112
- see: [jerry_feature_enabled](#jerry_feature_enabled).
6113
- - The es.next profile enables this by default.
6114
-
6115
6081
6116
6082
**Prototype**
6117
6083
@@ -6128,8 +6094,6 @@ jerry_promise_reject (jerry_value_t promise, jerry_value_t argument);
6128
6094
6129
6095
*New in version 2.0*.
6130
6096
6131
- *Changed in version [[NEXT_RELEASE]]*: Build option dependency changed from `JERRY_BUILTIN_PROMISE` to `JERRY_ESNEXT`.
6132
-
6133
6097
**Example**
6134
6098
6135
6099
```c
@@ -6171,10 +6135,6 @@ Get the well-known symbol corresponding to the given [well-known symbol id](#jer
6171
6135
*Notes*:
6172
6136
- Returned value must be freed with [jerry_value_free](#jerry_value_free) when it
6173
6137
is no longer needed.
6174
- - This API depends on a build option (`JERRY_BUILTIN_SYMBOL`) and can be checked
6175
- in runtime with the `JERRY_FEATURE_SYMBOL` feature enum value,
6176
- see: [jerry_feature_enabled](#jerry_feature_enabled).
6177
- - The es.next profile enables this by default.
6178
6138
- If the symbol support is not enabled an undefined will be returned.
6179
6139
6180
6140
**Prototype**
@@ -6231,11 +6191,6 @@ Returns with the `[[Description]]` internal property of a symbol value.
6231
6191
*Notes*:
6232
6192
- Returned value must be freed with [jerry_value_free](#jerry_value_free) when it
6233
6193
is no longer needed.
6234
- - This API depends on a build option (`JERRY_BUILTIN_SYMBOL`) and can be checked
6235
- in runtime with the `JERRY_FEATURE_SYMBOL` feature enum value,
6236
- see: [jerry_feature_enabled](#jerry_feature_enabled).
6237
- - The es.next profile enables this by default.
6238
- - If symbol support is not enabled an exception will be returned.
6239
6194
6240
6195
**Prototype**
6241
6196
@@ -6294,11 +6249,6 @@ Based on ECMA 262 v6 19.4.3.2.1 this is in the form of `Symbol(<description>)`.
6294
6249
*Notes*:
6295
6250
- Returned value must be freed with [jerry_value_free](#jerry_value_free) when it
6296
6251
is no longer needed.
6297
- - This API depends on a build option (`JERRY_BUILTIN_SYMBOL`) and can be checked
6298
- in runtime with the `JERRY_FEATURE_SYMBOL` feature enum value,
6299
- see: [jerry_feature_enabled](#jerry_feature_enabled).
6300
- - The es.next profile enables this by default.
6301
- - If symbol support is not enabled an exception will be returned.
6302
6252
6303
6253
**Prototype**
6304
6254
0 commit comments