Skip to content

Commit c558213

Browse files
committed
Add notes to jerry_create_undefined
JerryScript-DCO-1.0-Signed-off-by: Mate Dabis mdabis@inf.u-szeged.hu
1 parent 54b1a3c commit c558213

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/02.API-REFERENCE.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6870,6 +6870,9 @@ jerry_create_shared_arraybuffer_external (const jerry_length_t size
68706870

68716871
Create a jerry_value_t representing a boolean value from the given boolean parameter.
68726872

6873+
*Notes*:
6874+
- The undefined value is a fixed constant. Its value can be copied any number of times without calling [jerry_acquire_value](#jerry_acquire_value), and freeing it with [jerry_release_value](#jerry_release_value) is optional.
6875+
68736876
**Prototype**
68746877

68756878
```c
@@ -7238,6 +7241,9 @@ jerry_create_number_nan (void);
72387241

72397242
Creates and returns a `jerry_value_t` with type null object.
72407243

7244+
*Notes*:
7245+
- The undefined value is a fixed constant. Its value can be copied any number of times without calling [jerry_acquire_value](#jerry_acquire_value), and freeing it with [jerry_release_value](#jerry_release_value) is optional.
7246+
72417247
**Prototype**
72427248

72437249
```c
@@ -8176,6 +8182,10 @@ main (void)
81768182

81778183
Creates a `jerry_value_t` representing an undefined value.
81788184

8185+
*Notes*:
8186+
- The undefined value is a fixed constant. Its value can be copied any number of times without calling [jerry_acquire_value](#jerry_acquire_value), and freeing it with [jerry_release_value](#jerry_release_value) is optional.
8187+
8188+
81798189
**Prototype**
81808190

81818191
```c

0 commit comments

Comments
 (0)