eval('1') 返回 1, eval('[]') 返回 [], eval('{}') 却返回 undefined
eval('1')
1
eval('[]')
[]
eval('{}')
undefined
答案见 https://stackoverflow.com/a/3360404/4622308