Modern JavaScript: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

24 October 2022

  • curprev 16:5716:57, 24 October 2022Paul talk contribs 390 bytes +37 No edit summary
  • curprev 16:5616:56, 24 October 2022Paul talk contribs 353 bytes +353 Created page with "== Defining variables == * Do not use <code>var</code> - it is not scoped to blocks (effectively it is a global variable) and it can be redefined * Use <code>const</code> for values which should not change (remember that properties of the object *can* change, even though the object pointed to cannot) * Use <code>let</code> for values which may change"