Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use String.charAt to lookup string characters by index #2651

Merged

Conversation

arnihermann
Copy link
Contributor

Using object property accessor for string character lookup breaks in non-modern browsers.

Using object property accessor for string character lookup breaks in
non-modern browsers.
arnihermann referenced this pull request Dec 3, 2014
The context is an extra message with comparison of where server and
client markup started to differ.
@zpao
Copy link
Member

zpao commented Dec 3, 2014

Yea, it seems we do prefer to use charAt, though apparently we could get away with just using property access since IE8 supports it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants