File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ const obj = userObjectCreator(1);
170170
171171###### Notes
172172
173- ` obj.id ` is a ready only property and does not allow overwriting
173+ ` obj.id ` is a read only property and does not allow overwriting
174174
175175<br />
176176
@@ -461,7 +461,7 @@ Class in JavaScript is functionality to achieve class based model on top of prot
461461
462462<br />
463463
464- ### Q. Write a program to make all the properties of an object ready only but allow the addition of new properties
464+ ### Q. Write a program to make all the properties of an object read only but allow the addition of new properties
465465
466466- The exisiting properties of the object can be made read only with ` set ` keyword using Proxy
467467
You can’t perform that action at this time.
0 commit comments