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);
170
170
171
171
###### Notes
172
172
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
174
174
175
175
<br />
176
176
@@ -461,7 +461,7 @@ Class in JavaScript is functionality to achieve class based model on top of prot
461
461
462
462
<br />
463
463
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
465
465
466
466
- The exisiting properties of the object can be made read only with ` set ` keyword using Proxy
467
467
You can’t perform that action at this time.
0 commit comments