https://www.udemy.com/course/javascript-the-complete-guide-2020-beginner-advanced/
- performance optimization
- limiting the rate of executions of particular functions
- Search bar - debouncing is more efficient than trotlling
- Window resize - trotlling is more efficient than debouncing
- Button click (Shooting game) Realtime Scenerio suppose for Machine gun/Pistol- range 300ms, next shot can made only after 300ms -------- trotlling is more efficient than debouncing
Every function in javascript has access these Apply, Call, Bind methods
Create your own function like Apply, Call, Bind methods which will be accessible in every function in javascript
Funtion.prototype.myunction = function() {
}
https://medium.com/dailyjs/how-to-remove-array-duplicates-in-es6-5daa8789641c