javascript oops 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;
const book = { title: "Hippie", author: "Paulo Coelho", year: "2018"}
var js = new JavaScript();
js.isObjectOrientated = true;