arr
should be [3,4,5,6,7,8,9,10]
");'
- text: ''
testString: 'getUserInput => assert(getUserInput("index").match(/\[\s*\w*\s*,\s*\w*\s*,\s*...\w+\s*\]/g),"Destructuring should be used.");'
- text: ''
testString: 'getUserInput => assert(!getUserInput("index").match(/slice/g), "Array.slice()
should not be used.");'
```