first iteration that can create an array but fails
This commit is contained in:
parent
f11ffd66e6
commit
37407c8465
|
@ -1,13 +1,17 @@
|
||||||
const removeFromArray = function([x], [y]) {
|
// First iteration that fails all tests but can create an array:
|
||||||
|
|
||||||
let array = [x, y];
|
const removeFromArray = function([array], args) {
|
||||||
|
|
||||||
array.indexOf(0);
|
function createArray(...args) {
|
||||||
array.indexOf(1);
|
let newArray = args
|
||||||
|
}
|
||||||
|
|
||||||
array.splice()
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
// const removeFromArray = function() {};
|
||||||
|
|
||||||
|
|
||||||
// Do not edit below this line
|
// Do not edit below this line
|
||||||
module.exports = removeFromArray;
|
module.exports = removeFromArray;
|
||||||
|
|
Loading…
Reference in New Issue