Skip to content

Commit e0120d6

Browse files
Fix JS syntax highlighting
1 parent 854fb67 commit e0120d6

File tree

1 file changed

+4
-4
lines changed
  • numbers-booleans-objects/create-a-function-to-validate-passphrase

1 file changed

+4
-4
lines changed

Diff for: numbers-booleans-objects/create-a-function-to-validate-passphrase/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ So just to give you an example on how to complete a function, imagine the functi
2929

3030
_ACTION: Show how to write a code that validates whether length of a string is greater than 5._
3131

32-
33-
let result = text.length > 5;
34-
return result;
35-
32+
```js
33+
let result = text.length > 5;
34+
return result;
35+
```
3636
So that's all about checking whether the length of a string is greater than 5.
3737

3838
In a similar fashion, you are expected to code out the way you would validate the input `text` and return the boolean value based on the validity of the passphrase.

0 commit comments

Comments
 (0)