Menu

Why is this widely used in LinkedLists

Reddit r/learnjavascript·u/ChainsawLight·6 days ago
#mIj099gN
#please#explain#keyword#widely#used
Reading 0:00
15s threshold

Please explain why programmers use the this keyword? I get OOP like

this.prop = prop;

but what does that mean? The this keyword is a reference to the window object right? Its just calling a null value? Can someone please explain how the this keyword works?

"Use strict"

console.log(this);

Please explain why it's widely used in LinkedList?