From 703ddae19442a048ba9db448679287bab5b6f5cf Mon Sep 17 00:00:00 2001 From: csdkamikaze <55854038+csdkamikaze@users.noreply.github.com> Date: Wed, 26 May 2021 14:37:22 +0200 Subject: [PATCH] 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 --- docs/02.API-REFERENCE.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/docs/02.API-REFERENCE.md b/docs/02.API-REFERENCE.md index cf94886c5..bdf4a6612 100644 --- a/docs/02.API-REFERENCE.md +++ b/docs/02.API-REFERENCE.md @@ -2615,10 +2615,10 @@ jerry_value_is_proxy (const jerry_value_t value) - true, if the given `jerry_value_t` is a proxy object - false, otherwise -**Example** - *New in version 2.3*. +**Example** + ```c { 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). - The es.next profile enables this by default. -*New in version 2.3*. - **Prototype** ```c @@ -2886,6 +2884,9 @@ jerry_get_container_type (const jerry_value_t value) - return value - The corresponding enum value of `jerry_container_type_t`, or `JERRY_CONTAINER_TYPE_INVALID` if the container was not a valid container object. + +*New in version 2.3*. + **Example** [doctest]: # () @@ -6691,10 +6692,10 @@ jerry_create_proxy (const jerry_value_t target, - return thrown error - if the Proxy construction fails value of the newly created proxy object - otherwise -**Example** - *New in version 2.3*. +**Example** + [doctest]: # () ```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). - The es.next profile enables this by default. -*New in version 2.3*. - **Prototype** ```c @@ -7460,6 +7459,8 @@ jerry_create_container (jerry_container_type_t container_type, - `arguments_list_len` - The length of the above arguments. - return value - the new container object as a `jerry_value_t` +*New in version 2.3*. + **Example** [doctest]: # ()