why everything is object in javscript.
- Pankaj Kumar Thakur
- 13 Aug
- 44 Views
- 2 Answers
Because it is an object-oriented language which is actually good in the sense that we can directly instantiate a class and use its object without much hassle. Everything is taken care of internally by the language.