IE6

var str = "abc";

var r = str[0];

IE6下会得到undefined....囧。好记~

原文地址:https://www.cnblogs.com/weberypf/p/2327500.html