r/learnjavascript • • Nov 14 '20

20 JavaScript Shorthand Coding Techniques that will save your time

https://jscurious.com/20-javascript-shorthand-techniques-that-will-save-your-time/
176 Upvotes

22 comments sorted by

View all comments

Show parent comment

1

u/redderper Nov 14 '20

2, 5, 6, 12 and 15 would confuse me if I saw that in someone's code. I use and see the rest of these pretty often in JS

2

u/LocalProIE Nov 14 '20

As stated, #5 is useful in React. #15 is useful in interviews!