Ega Prasetya Posted on Sep 30, 2020 Shorthand Javascript Techniques #javascript #webdev #tutorial Declaring Variables Ternary Operators Assignment Operators Switch Case If Presence Arrow Functions Object Array Notation Happy Coding! Top comments (2) Subscribe Collapse Expand Jacek Dunikowski Jacek Dunikowski Jacek Dunikowski Follow Work Front-end Developer Joined Jan 10, 2020 • Sep 30 '20 • Edited on Sep 30 • Edited Dropdown menu Copy link Hide Ternary Operators: // SHORTHAND let number = x > 9 ? true : false; Even more shorthand: // SHORTHAND let number = x > 9; Collapse Expand Ega Prasetya Ega Prasetya Ega Prasetya Follow No matter what i`m learn, kill with documentation. Joined Jan 25, 2020 • Sep 30 '20 Dropdown menu Copy link Hide Ah, this is also very cool bro. Nice comment! Code of Conduct • Report abuse For further actions, you may consider blocking this person and/or reporting abuse
Top comments (2)
Ternary Operators:
Even more shorthand:
Ah, this is also very cool bro. Nice comment!