Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is javascript an object oriented language?

Tags:

javascript

I have been learning javascript for some time. The book I read says that Javascript is a functional interpreted language. But many other resources I came across said that Javascript is Object oriented. So which one exactly does JS belongs to ? Or it does not really matter? Thanks

like image 326
Codier Avatar asked May 02 '11 00:05

Codier


1 Answers

JavaScript does have objects. I would say it's a hybrid: interpreted, functional, object-oriented, and dynamic.

I think these characteristics are very important, indeed. They are what makes it a good language, one that's more important every day.

like image 174
duffymo Avatar answered Sep 29 '22 14:09

duffymo