+ 1

What is THIS in javascript ?

Describe THIS in javascript

21st Nov 2018, 8:00 PM
M o s h t a b a
M o s h t a b a - avatar
2 Answers
21st Nov 2018, 8:21 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 5
"This" refers to the object in which it belongs too basicly its self 😉
21st Nov 2018, 8:16 PM
D_Stark
D_Stark - avatar