New course! Every coder should learn Generative AI!
Try a free lesson+ 7
Hello, SURAJ PATIL !
Unlike most other OO-languages (Java, C#), the object system in JavaScript is based on prototypes, not classes. Classes that you know in languages such as Java do not technically exist in JavaScript(JS).
The whole hierarchy of objects is built on chains - prototypes. Object.prototype is an object from which all other objects are "inherited". It contains methods such as toString() or valueOf().
Good luck with programming on SoloLearn!
https://www.sololearn.com/Course/JavaScript/?ref=app