SOURCE

let helloArray = ['h', 'e', 'l', 'l', 'o', 'w', 'o', 'r', 'l', 'd'];

/*
* 删除数组中的'l'字符
*/
function deleteL (array) {
  
  
  return array;
}

console.log(deleteL(helloArray));
console 命令行工具 X clear

                    
>
console