题解 | #新数组#
新数组
https://www.nowcoder.com/practice/bee781a51bc944bbad20f3c2ca798890
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
</head>
<body>
<script type="text/javascript">
const _delete = (array,index) => {
// 补全代码
if (!array || array.length <= 0) return []
const result = []
const len = array.length
for (let i = 0; i < len; i ++) {
if (i !== index) {
result.push(array[i])
}
}
return result
}
</script>
</body>
</html>
#实习,投递多份简历没人回复怎么办##你已经投递多少份简历了##2022届毕业生现状##互联网没坑了,还能去哪里?#