I m trying to remove a specific element from my array with a string index
but all my elements are removed 

```
var myArray = new Array();

myArray['abc'] = 'abc';
myArray['cde'] = 'cde';
myArray['efg'] = 'efg';

console.log('before splice:');
console.log(myArray);

myArray = myArray.splice('abc',1);
console.log('after splice:');
console.log(myArray);

before splice:
[abc: "abc", cde: "cde", efg: "efg"]
after splice:
[]

```

doc found on this link [1]: <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice>

doesn't explicit say if index must be an integer or anything else