Last active
November 25, 2018 10:46
-
-
Save chrdek/9a5ee7c5f8473667ef6698635f1eb781 to your computer and use it in GitHub Desktop.
Get the length of string without standard .length prop..
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //String length without using .length | |
| Number(Object.keys([..."teststringhere"]).pop())+1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment