does javascript have oops concept code example
Example: oops in javascript
const book = { title: "Hippie", author: "Paulo Coelho", year: "2018"}
const book = { title: "Hippie", author: "Paulo Coelho", year: "2018"}