What does this " $0 "mean ?! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What does this " $0 "mean ?!

I have seen this line of code in an online course " const heading = $0; "so i wanna understand ehat it means

15th Nov 2019, 8:46 AM
Marina Khamis
Marina Khamis  - avatar
1 Answer
0
I want to say $0 refers to the DOM or the HTML element itself but I may be wrong.
15th Nov 2019, 12:55 PM
Anthony Johnson
Anthony Johnson - avatar