0开始计数,因此第一个字符实际上是第0个字符。 thirdLetterOfLastName设置为等于lastName变量的第三个字母。 暗示 secondLetterOfFirstName变量声明。 thirdLetterOfLastName变量的值应为v 。
testString: 'assert(thirdLetterOfLastName === "v", "The thirdLetterOfLastName variable should have the value of v.");'
- text: 您应该使用括号表示法。
testString: 'assert(code.match(/thirdLetterOfLastName\s*?=\s*?lastName\[.*?\]/), "You should use bracket notation.");'
```