Skip to content

Instantly share code, notes, and snippets.

@binnng
Created July 18, 2013 07:53
Show Gist options
  • Select an option

  • Save binnng/6027534 to your computer and use it in GitHub Desktop.

Select an option

Save binnng/6027534 to your computer and use it in GitHub Desktop.
伪数组一系列问题
this.context = [].concat.apply([], selector);
//selector是个伪数组(元素列表),这样转换成数组不可靠,三星大部分机器会报错。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment