3 ms·
functional in the sense that it uses method calls on objects and javascript has higher order functions. It is a spectrum. I know DOM nodes are objects that use
by aatd86 1y ago
functional in the sense that it uses method calls on objects and javascript has higher order functions.
It is a spectrum.
I know DOM nodes are objects that use inheritance but I also know javascript is not deemed a "traditional" functional PL of course.
- troupo 1y agoJavascript being a decent functional language does not make DOM API functional. DOM API is 90-s era OOP