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 Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss 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 Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well Confirm 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!