Skip to content

Commit 1868774

Browse files
authored
Remove quotes around ternary operator
1 parent 3cdee0d commit 1868774

File tree

1 file changed

+1
-1
lines changed
  • 1-js/02-first-steps/14-function-basics/2-rewrite-function-question-or

1 file changed

+1
-1
lines changed

1-js/02-first-steps/14-function-basics/2-rewrite-function-question-or/task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ Rewrite it, to perform the same, but without `if`, in a single line.
2222

2323
Make two variants of `checkAge`:
2424

25-
1. Using a question mark operator `'?'`
25+
1. Using a question mark operator `?`
2626
2. Using OR `||`

0 commit comments

Comments
 (0)