kriskowal/es5-shim — Issue #90: `var prepareString = "a"[0] != "a";` fails to catch IE8's lack of accessing chars by index of String objects
Author: jdalton
Created: 2011-12-25 18:31:57+00:00
State: open

`var prepareString = "a"[0] != "a";` fails to catch IE8's lack of accessing chars by index of String objects.
It should instead be

~~~ js
prepareString = (new String("a"))[0] != "a";
~~~