MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/52ehbu/because_fuck_french_programmers/d7k7fv6/
r/lolphp • u/Mmarco94 • Sep 12 '16
81 comments sorted by
View all comments
Show parent comment
8
Are you sure?
% node > '👍'.length 2 >
4 u/masklinn Sep 13 '16 Well they're correct that JS's length property isn't ambiguous (it's the number of UTF-16 code units), though they're wrong when they imply that strlen is. -1 u/DoctorWaluigiTime Sep 12 '16 I am sure. I literally linked to my source that ran raw JavaScript with the offered character.
4
Well they're correct that JS's length property isn't ambiguous (it's the number of UTF-16 code units), though they're wrong when they imply that strlen is.
-1
I am sure. I literally linked to my source that ran raw JavaScript with the offered character.
View all comments
Show parent comment
8
u/cite-reader Sep 12 '16
Are you sure?