Typo fix in 02.API-REFERENCE.md (#4680)
JerryScript-DCO-1.0-Signed-off-by: Daniel Batiz batizjob@gmail.com Co-authored-by: Daniel Batiz <batizjob@gmail.com>
This commit is contained in:
@@ -2615,10 +2615,10 @@ jerry_value_is_proxy (const jerry_value_t value)
|
|||||||
- true, if the given `jerry_value_t` is a proxy object
|
- true, if the given `jerry_value_t` is a proxy object
|
||||||
- false, otherwise
|
- false, otherwise
|
||||||
|
|
||||||
**Example**
|
|
||||||
|
|
||||||
*New in version 2.3*.
|
*New in version 2.3*.
|
||||||
|
|
||||||
|
**Example**
|
||||||
|
|
||||||
```c
|
```c
|
||||||
{
|
{
|
||||||
jerry_value_t value;
|
jerry_value_t value;
|
||||||
@@ -2873,8 +2873,6 @@ Checks whether the given `jerry_value_t` is the given `jerry_container_type_t` t
|
|||||||
see: [jerry_is_feature_enabled](#jerry_is_feature_enabled).
|
see: [jerry_is_feature_enabled](#jerry_is_feature_enabled).
|
||||||
- The es.next profile enables this by default.
|
- The es.next profile enables this by default.
|
||||||
|
|
||||||
*New in version 2.3*.
|
|
||||||
|
|
||||||
**Prototype**
|
**Prototype**
|
||||||
|
|
||||||
```c
|
```c
|
||||||
@@ -2886,6 +2884,9 @@ jerry_get_container_type (const jerry_value_t value)
|
|||||||
- return value
|
- return value
|
||||||
- The corresponding enum value of `jerry_container_type_t`, or `JERRY_CONTAINER_TYPE_INVALID` if the container
|
- The corresponding enum value of `jerry_container_type_t`, or `JERRY_CONTAINER_TYPE_INVALID` if the container
|
||||||
was not a valid container object.
|
was not a valid container object.
|
||||||
|
|
||||||
|
*New in version 2.3*.
|
||||||
|
|
||||||
**Example**
|
**Example**
|
||||||
|
|
||||||
[doctest]: # ()
|
[doctest]: # ()
|
||||||
@@ -6691,10 +6692,10 @@ jerry_create_proxy (const jerry_value_t target,
|
|||||||
- return thrown error - if the Proxy construction fails
|
- return thrown error - if the Proxy construction fails
|
||||||
value of the newly created proxy object - otherwise
|
value of the newly created proxy object - otherwise
|
||||||
|
|
||||||
**Example**
|
|
||||||
|
|
||||||
*New in version 2.3*.
|
*New in version 2.3*.
|
||||||
|
|
||||||
|
**Example**
|
||||||
|
|
||||||
[doctest]: # ()
|
[doctest]: # ()
|
||||||
|
|
||||||
```c
|
```c
|
||||||
@@ -7444,8 +7445,6 @@ Create a jerry_value_t representing a given type container object.
|
|||||||
see: [jerry_is_feature_enabled](#jerry_is_feature_enabled).
|
see: [jerry_is_feature_enabled](#jerry_is_feature_enabled).
|
||||||
- The es.next profile enables this by default.
|
- The es.next profile enables this by default.
|
||||||
|
|
||||||
*New in version 2.3*.
|
|
||||||
|
|
||||||
**Prototype**
|
**Prototype**
|
||||||
|
|
||||||
```c
|
```c
|
||||||
@@ -7460,6 +7459,8 @@ jerry_create_container (jerry_container_type_t container_type,
|
|||||||
- `arguments_list_len` - The length of the above arguments.
|
- `arguments_list_len` - The length of the above arguments.
|
||||||
- return value - the new container object as a `jerry_value_t`
|
- return value - the new container object as a `jerry_value_t`
|
||||||
|
|
||||||
|
*New in version 2.3*.
|
||||||
|
|
||||||
**Example**
|
**Example**
|
||||||
|
|
||||||
[doctest]: # ()
|
[doctest]: # ()
|
||||||
|
|||||||
Reference in New Issue
Block a user