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.