const
keyword.");'
- text: ''
testString: 'getUserInput => assert(getUserInput("index").match(/const\s+s/g), "s
should be a constant variable (by using const
).");'
- text: ''
testString: 'getUserInput => assert(getUserInput("index").match(/const\s+s\s*=\s*\[\s*5\s*,\s*7\s*,\s*2\s*\]\s*;?/g), "Do not change the original array declaration.");'
- text: ''
testString: 'assert.deepEqual(s, [2, 5, 7], "s
should be equal to [2, 5, 7]
.");'
```