mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): Step 62 adding null explanation to description (#53533)
This commit is contained in:
+2
@@ -7,6 +7,8 @@ dashedName: step-62
|
||||
|
||||
# --description--
|
||||
|
||||
In programming, `null` is meant to represent the absence of a value. In this case, if the user enters an invalid input, you want to alert them and then return `null` to indicate that the function has failed.
|
||||
|
||||
Still within your `if` block, set `isError` to `true` and return `null`.
|
||||
|
||||
# --hints--
|
||||
|
||||
Reference in New Issue
Block a user