How can I take an array and using its elements call new variables

前端 未结 0 1591
-上瘾入骨i
-上瘾入骨i 2021-01-14 05:22

Lets say I have an array const myColors = ["red", "blue", "yellow"];

I pass these into a function and the function outputs you can creat

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