this keyword mainly refers to different values in JS. In most cases it refers to the scope it was called from, but I'll list how it holds values based on different conditions below.
A rule of thumb, look to the left of this. It's likely the value of it, unless for conditions mentioned below.
The coming examples expects that JS is called in the browser.
console.log(this) //window object