call() / apply() / bind() in JavaScript

Introduction

call() / apply() / bind() in JavaScript

  1. call()
  2. apply()
  3. bind()
  • call() and apply() that immediately runs a function.
  • bind() return a new function with a certain context and parameters.

Leave a Reply

Your email address will not be published.

ANOTE.DEV