18 lines
315 B
JavaScript
18 lines
315 B
JavaScript
// First iteration that fails all tests but can create an array:
|
|
|
|
const removeFromArray = function([array], args) {
|
|
|
|
function createArray(...args) {
|
|
let newArray = args
|
|
}
|
|
|
|
|
|
};
|
|
|
|
|
|
// const removeFromArray = function() {};
|
|
|
|
|
|
// Do not edit below this line
|
|
module.exports = removeFromArray;
|