Posts by Lucas Stellet • 13 points
1 post
-
1
votes1
answer74
viewsQ: Doubt POO Javascript
I am practicing POO in Javascript and, looking for some examples on the internet, I came across the practice below: function Product(name, price) { this.name = name; this.price = price;…