The Magic of this, call(), apply(), and bind() in JavaScript
Sometimes a JavaScript function behaves differently depending on who calls it.
That’s where the keyword this comes in. It helps a function know which object it belongs to at the moment it runs.
Along
js-foundational.hashnode.dev5 min read