Indexing strings #602
Labels
builtins
PRs and Issues related to builtins/intrinsics
enhancement
New feature or request
execution
Issues or PRs related to code execution
Milestone
ECMASCript feature
Just like arrays you can also index the characters in a string.
Example code
This code should now work and give the expected result:
The expected output is
'h'
. the actual output isundefined
.This happens because the internal slots are not set for string objects. #591
The text was updated successfully, but these errors were encountered: