fix(challange): Redundant note has been removed (#16895)
parent
2d25642a67
commit
0fa5296f87
|
@ -40,8 +40,7 @@
|
|||
"Note the <code>\"use strict\"</code>. This enables Strict Mode, which catches common coding mistakes and \"unsafe\" actions. For instance:",
|
||||
"<blockquote>\"use strict\";<br>x = 3.14; // throws an error because x is not declared</blockquote>",
|
||||
"<hr>",
|
||||
"Update the code so it only uses the <code>let</code> keyword.",
|
||||
"<strong>Note</strong><br>Remember that since <code>let</code> prevents variables from being overridden, you will need to remove one of the declarations entirely."
|
||||
"Update the code so it only uses the <code>let</code> keyword."
|
||||
],
|
||||
"challengeSeed": [
|
||||
"var catName;",
|
||||
|
@ -710,7 +709,6 @@
|
|||
"Refactor the function <code>setGear</code> inside the object <code>bicycle</code> to use the shorthand syntax described above."
|
||||
],
|
||||
"challengeSeed": [
|
||||
|
||||
"// change code below this line",
|
||||
"const bicycle = {",
|
||||
" gear: 2,",
|
||||
|
|
Loading…
Reference in New Issue