Skip to content

piyalidas10/javascript-playgrounds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

javascript course

https://www.udemy.com/course/javascript-the-complete-guide-2020-beginner-advanced/

Why use Trotlling & debouncing

  1. performance optimization
  2. limiting the rate of executions of particular functions

Scenrios where Trotlling & debouncing are used

  1. Search bar - debouncing is more efficient than trotlling
  2. Window resize - trotlling is more efficient than debouncing
  3. 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

Apply, Call, Bind methods

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

ng-India Webinar - Master 5 Most Popular Concepts of JavaScript

https://www.youtube.com/watch?v=F2V7MgehDSY