Comment by cluckindan
8 hours ago
No. The implementation treats the function body as just another CSS rule set, which is applied to some virtual element. The ”result: somevalue;” rule then sets the ”result” style property on that element, and that property value gets plopped onto the call site.
Kinda clever, actually.
No comments yet
Contribute on Hacker News ↗