New course! Every coder should learn Generative AI!
Try a free lesson0
Yes, there are global variables, but this is discouraged hence the need for closures.
JS does have object oriented features, but it is not a true object oriented language as it doesnt support virtual functions and polymorphism.