playerNumber variable to 16. Then, use the variable to look up the player's name and assign it to player.
playerNumber should be a number
testString: assert(typeof playerNumber === 'number');
- text: The variable player should be a string
testString: assert(typeof player === 'string');
- text: The value of player should be "Montana"
testString: assert(player === 'Montana');
- text: You should use bracket notation to access testObj
testString: assert(/testObj\s*?\[.*?\]/.test(code));
- text: You should not assign the value Montana to the variable player directly.
testString: assert(!code.match(/player\s*=\s*"|\'\s*Montana\s*"|\'\s*;/gi));
- text: You should be using the variable playerNumber in your bracket notation
testString: assert(/testObj\s*?\[\s*playerNumber\s*\]/.test(code));
```