fix(curriculum): replace smart quotes with straight quotes (#64471)

This commit is contained in:
Vikas Sharma
2025-12-11 01:16:53 +05:30
committed by GitHub
parent 33d97f5ed7
commit f5ee8780bc

View File

@@ -52,7 +52,7 @@ We also have a new `showPrice` method. In this method, we print a descriptive me
Notice how we're using the `this` keyword to access the properties of the object within the `showPrice` method.
What value will the `this` keyword have in the context of this method? It will refer to the object on which the method is being called. In this case, we're creating a new Dessert instance with the name `Brownie` and the price `$5.99`:
What value will the `this` keyword have in the context of this method? It will refer to the object on which the method is being called. In this case, we're creating a new Dessert instance with the name `"Brownie"` and the price `$5.99`:
```js
const brownie = new Dessert("Brownie", 5.99);