Create a single value array in JavaScript

前端 未结 7 628
再見小時候
再見小時候 2021-01-01 08:59

why is the following code showing undefined? Are we not allowed to create an array with a single value? Putting two values won\'t show this error. Is this a pro

7条回答
  •  攒了一身酷
    2021-01-01 09:34

    guys the answer was as simple as this:

    
    

提交回复
热议问题