Engrain by ByteRush

JS.15.01 Mid-levelCore — asked often

call, apply and bind

Comes up in: Coding

This concept is being written. It gets the full five steps — explanation, predict, interview angle, practice with tests, and review cards. Here is exactly what it will cover, so you can study it elsewhere in the meantime.

What it covers

  • temporary symbol key
  • null/undefined this (globalThis in sloppy, kept in strict)
  • bind with partial args
  • bind + new

Words you will know

polyfill

What you will practise

  • implement all three with tests

Interview questions this answers

  • Implement Function.prototype.call without using call/apply/bind.
  • Implement the new operator as a function.