RSSAmplifier

MadeByMike · Nov 11, 2018

What is this in JavaScript?

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

Like many things, the this keyword in JavaScript is something I learned to work with and around, long before I gained any proper understanding of how it works. Recently I was asked to describe it and found despite my experience I still strugled to find simple terms. So I thought I'd write down my best attempt. There is a special keyword in JavaScript called this . It is a reference to an object.…

Read on /writing/this-in-javascript/

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.