Javascript new Array and join() method

后端 未结 5 1820
北恋
北恋 2021-01-13 00:49

Inspired by this popular speech I wanted to figure out some issue related to creating arrays. Let\'s say I am creating new array with:

Array(3)

5条回答
  •  独厮守ぢ
    2021-01-13 01:21

    Join takes a separator. "lorem" has replaced the commas that were there before.

提交回复
热议问题