mirror of https://github.com/svaarala/duktape.git
Sami Vaarala
5 years ago
committed by
GitHub
21 changed files with 64 additions and 46 deletions
@ -1,9 +1,9 @@ |
|||
<div class="note"> |
|||
Symbol values are visible in the C API as strings so that both |
|||
<code>duk_is_symbol()</code> and <code>duk_is_string()</code> are true. |
|||
This behavior is similar to Duktape 1.x internal strings. Symbols are |
|||
still an experimental feature; for now, you can distinguish Symbols from |
|||
ordinary strings using <code><a href="#duk_is_symbol">duk_is_symbol()</a></code>. |
|||
This behavior is similar to Duktape 1.x internal strings. You can |
|||
distinguish Symbols from ordinary strings using |
|||
<code><a href="#duk_is_symbol">duk_is_symbol()</a></code>. |
|||
For the internal representation, see |
|||
<a href="https://github.com/svaarala/duktape/blob/master/doc/symbols.rst">symbols.rst</a>. |
|||
</div> |
|||
|
Loading…
Reference in new issue