$: variable = "some string";
This piece of code is syntactically valid in JS as I've learned from Svelte's conference video. I know how it works in Svelte but what purpose does it have in vanilla JS?
I've tried some searching around the web but couldn't find anything that isn't Svelte related.
Do any of you use it on regular basis? Does it have any use cases at all? I'll be glad for any pointers I could get.