Object Oriented Concept in javascrips?

Object oriented always used to refer about objects.
Programming based on objects( actually a building block of javascript).

All javascript components are objects.

Eg: strings, functions etc…

A set of codes enclosed in a block, usually we call it as a class. Object always refer to this class.

What properties of Oop javascript used to follow?

Inheritance and Encapsulation.

Inheritance means object using their parent objects properties.

Encapsulation refers wrapping up of data and code into a single block, usually refers to class. So only object of this class can use these methods and properties. No other objects can access this class.