Lesley's Digital Garden

Home

❯

Notes

❯

javascript with statement

javascript with statement

Mar 14, 2024

  • computing/javascript

javascript

JavaScript with Statement

The with statement is deprecated and should never be used.

Relation with Dynamic Scoping

Crafting Interpreter Chapter 8 mentions that with statement is an example of dynamic scoping since it turns properties of an object into dynamic scope variables.

Reference

  • with - JavaScript | MDN

Graph View

  • JavaScript with Statement
  • Relation with Dynamic Scoping
  • Reference

Backlinks

  • JavaScript

Created with Quartz v4.5.2 © 2026. All notes are written in Obsidian.

  • GitHub Repository
  • Mastodon