Chromium Code Reviews
DescriptionInline [] operator on one-byte strings.
str[i] is translated into
temp = str.charCodeAt(i)
result = StringFromCharCode(temp);
The existing code for charCodeAt is reused and contains
the necessary range class id and range check.
Committed: https://code.google.com/p/dart/source/detail?r=15246
Patch Set 1 #Patch Set 2 : removed unnecessary change #
Total comments: 2
Patch Set 3 : #Patch Set 4 : #
Messages
Total messages: 4 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||