Skip to content

Commit 01b3bf7

Browse files
authored
Question 86
1 parent 02fac11 commit 01b3bf7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
| 83 | [What is eval](#83-what-is-eval) |
9191
| 84 | [How can you assign default values to variables](#84-how-can-you-assign-default-values-to-variables) |
9292
| 85 | [How to determine if an object is extensible or not](#85-how-to-determine-if-an-object-is-extensible-or-not) |
93+
| 86 | [In how many ways we can make an object non-extensible](#86-in-how-many-ways-we-can-make-an-object-non-extensible) |
9394

9495
### 1. What is JavaScript
9596
* JavaScript is a scripting language used to create dynamic and interactive websites. It is supported by all major web browsers.
@@ -1244,6 +1245,15 @@ Object.isExtensible() method is used to determine if an object is extensible or
12441245
const obj1 = { name: 'surbhi' };
12451246
console.log(Object.isExtensible(obj1));// output ========> true
12461247
```
1248+
**[:top: Scroll to Top](#javascript-interview-questions)**
1249+
1250+
### 86. In how many ways we can make an object non-extensible
1251+
1252+
- Object.preventExtensions()
1253+
- Object.seal()
1254+
- Object.freeze()
1255+
1256+
**[:top: Scroll to Top](#javascript-interview-questions)**
12471257
12481258
## Output Based Questions
12491259

0 commit comments

Comments
 (0)