Skip to content

Instantly share code, notes, and snippets.

@iamblue
Last active August 29, 2015 14:07
Show Gist options
  • Select an option

  • Save iamblue/27e8df1d568cfa8e38b1 to your computer and use it in GitHub Desktop.

Select an option

Save iamblue/27e8df1d568cfa8e38b1 to your computer and use it in GitHub Desktop.
Ugly Javascript.
[ 1, 2, 3 ] + [ 4, 5, 6 ]
// '1,2,34,5,6'
// 奇怪的點:
// 1. array跟array 怎會是 string
// 2. 那個 + 到底是數值相加 還是 [1,2,3,4,5,6] ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment