4 OOP concepts with javascript code example
Example 1: oops in javascript
const book = { title: "Hippie", author: "Paulo Coelho", year: "2018"}
Example 2: is javascript object oriented
var js = new JavaScript();
js.isObjectOrientated = true;