Skip to content

Commit dcbc82e

Browse files
[auto] regenerate table of contents
1 parent d3f2dfe commit dcbc82e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,7 @@
506506
| 475 | [What are shadowing and illegal shadowing?](#what-are-shadowing-and-illegal-shadowing) |
507507
| 476 | [Why is it important to remove event listeners after use?](#why-is-it-important-to-remove-event-listeners-after-use) |
508508
| 477 | [What is structuredClone and how is it used for deep copying objects?](#what-is-structuredclone-and-how-is-it-used-for-deep-copying-objects) |
509+
| 478 | [What is the difference between const and Object.freeze](#what-is-the-difference-between-const-and-objectfreeze) |
509510
<!-- TOC_END -->
510511

511512
<!-- QUESTIONS_START -->
@@ -9552,7 +9553,7 @@ Common use cases and benefits:
95529553

95539554
**[⬆ Back to Top](#table-of-contents)**
95549555

9555-
478. ### What is the difference between const and Object.freeze
9556+
478. ### What is the difference between const and Object.freeze
95569557

95579558
The main difference is that `const` applies to **variables** (bindings), while `Object.freeze()` applies to **values** (objects).
95589559

0 commit comments

Comments
 (0)