how to put multiple index inside a Array map - Javascript

后端 未结 0 1964
余生分开走
余生分开走 2021-01-23 08:21

Is there a way where I can put the argument i as a index like the argument e ?

var array = Array.from(Array(6).keys());

array.map(f ,e          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题