Skip to content
This repository was archived by the owner on Sep 12, 2022. It is now read-only.

Commit 61ad77a

Browse files
committed
Add link in contents to new ternary section
1 parent b606581 commit 61ad77a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
1. [Properties](#properties)
1717
1. [Variables](#variables)
1818
1. [Hoisting](#hoisting)
19+
1. [Ternary operators](#ternary-operators)
1920
1. [Comparison Operators & Equality](#comparison-operators--equality)
2021
1. [Blocks](#blocks)
2122
1. [Comments](#comments)
@@ -611,7 +612,7 @@ If your editor/IDE isn't listed above, a list of available plugins can be found
611612
612613
**[⬆ back to top](#table-of-contents)**
613614
614-
## Ternary
615+
## Ternary operators
615616
616617
- [Ternary operators](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Operators/Conditional_Operator) are fine so long as the statements are concise. Hint: If they need to span multiple lines you should use `if/else`.
617618

0 commit comments

Comments
 (0)