Is JavaScript object-oriented? It has objects which can contain
data and methods that act upon that data. Objects can contain other
objects. It does not have classes, but it does have constructors
which do what classes do, including acting as containers for class
variables and methods. It does not have class-oriented inheritance,
but it does have prototype-oriented inheritance.