this refers to different objects depending on the context.
Source Code
function show() {
console.log(this);
}
show(); // Global object or undefined in strict mode
let obj = {
show: function() {
console.log(this);
}
};
obj.show(); // The object obj