Merge pull request #13073 from dnahol/fix/challenge-syntax

Added semicolon to Regular Expressions: Match Beginning String Patterns
This commit is contained in:
Samuel Plumppu
2017-02-02 18:26:35 +01:00
committed by GitHub

View File

@ -481,7 +481,7 @@
"Use the <code>caret</code> character in a regex to find <code>\"Cal\"</code> only in the beginning of the string <code>rickyAndCal</code>."
],
"challengeSeed": [
"let rickyAndCal = \"Cal and Ricky both like racing.\"",
"let rickyAndCal = \"Cal and Ricky both like racing.\";",
"let calRegex = /change/; // Change this line",
"let result = calRegex.test(rickyAndCal);"
],