[英]function that returns an array with all the numbers from 1 to 255
can you help me with this code?你能帮我这个代码吗? I'm new here, I'm still lost how to write code here.我是新来的,我仍然不知道如何在这里编写代码。
function get_array(){
var arr [];
`enter code here`
return arr[];
} }
const arr = new Array(255).fill(0).map((el, i) => i + 1);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.