Useful JavaScript tips
This is an awesome project about short and useful JavaScript tips that will help you improve your code writing. In less than 2 minutes, you can read about performance, conventions, hacks, interview questions and all the items that the future of this awesome language holds for us.
Tips are added frequently (read further if you want to stay in touch).
If you found a JS Tip useful or if you like a writer of the community, you can show your support and respect with a tip!
Sure, you can help the project in two ways: sending a tip or reviewing future tips. Any improvements or suggestions are more than welcome! Instructions are here.
There are a lot of ways to get updates:
Don't forget to Star★ the repo, as this helps promote the project!
74 - Check the reason make your page re-render by changed props and state
71 - VueJS, How VueJS makes a copy-update-replace inside the data binding
68 - [Why you should use Object.is() in equality comparison](http://www.jstips.co/en/javascript/why-you-should-use-Object.is()-in-equality-comparison/)
64 - 3 Array Hacks
60 - Three useful hacks
59 - ES6, var vs let
57 - Comma operator in JS
56 - Copy to Clipboard
54 - How to use optional arguments in functions (with optional callback)
53 - Get File Extension
47 - Basics: Declarations
40 - Using JSON.stringify
39 - Advanced Properties
37 - Deduplicate an Array
35 - Assignment Operators
31 - Avoid modifying or passing arguments
into other functions — it kills optimization
22 - Empty an Array
21 - Shuffle an Array
11 - Hoisting
09 - Template Strings
06 - Writing a single method for arrays and a single element