<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.rixort.com/index.php?action=history&amp;feed=atom&amp;title=Modern_JavaScript</id>
	<title>Modern JavaScript - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.rixort.com/index.php?action=history&amp;feed=atom&amp;title=Modern_JavaScript"/>
	<link rel="alternate" type="text/html" href="https://wiki.rixort.com/index.php?title=Modern_JavaScript&amp;action=history"/>
	<updated>2026-06-04T16:12:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.rixort.com/index.php?title=Modern_JavaScript&amp;diff=1275&amp;oldid=prev</id>
		<title>Paul at 15:57, 24 October 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.rixort.com/index.php?title=Modern_JavaScript&amp;diff=1275&amp;oldid=prev"/>
		<updated>2022-10-24T15:57:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:57, 24 October 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Do not use &amp;lt;code&amp;gt;var&amp;lt;/code&amp;gt; - it is not scoped to blocks (effectively it is a global variable) and it can be redefined&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Do not use &amp;lt;code&amp;gt;var&amp;lt;/code&amp;gt; - it is not scoped to blocks (effectively it is a global variable) and it can be redefined&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Use &amp;lt;code&amp;gt;const&amp;lt;/code&amp;gt; for values which &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;should &lt;/del&gt;not change (remember that properties of the object *can* change, even though the object pointed to cannot)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Use &amp;lt;code&amp;gt;const&amp;lt;/code&amp;gt; for values which &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;must &lt;/ins&gt;not change &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and which can be set on initialisation &lt;/ins&gt;(remember that properties of the object *can* change, even though the object pointed to cannot)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Use &amp;lt;code&amp;gt;let&amp;lt;/code&amp;gt; for values which may change&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Use &amp;lt;code&amp;gt;let&amp;lt;/code&amp;gt; for values which may change&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Paul</name></author>
	</entry>
	<entry>
		<id>https://wiki.rixort.com/index.php?title=Modern_JavaScript&amp;diff=1274&amp;oldid=prev</id>
		<title>Paul: Created page with &quot;== Defining variables ==  * Do not use &lt;code&gt;var&lt;/code&gt; - it is not scoped to blocks (effectively it is a global variable) and it can be redefined * Use &lt;code&gt;const&lt;/code&gt; for values which should not change (remember that properties of the object *can* change, even though the object pointed to cannot) * Use &lt;code&gt;let&lt;/code&gt; for values which may change&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.rixort.com/index.php?title=Modern_JavaScript&amp;diff=1274&amp;oldid=prev"/>
		<updated>2022-10-24T15:56:20Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Defining variables ==  * Do not use &amp;lt;code&amp;gt;var&amp;lt;/code&amp;gt; - it is not scoped to blocks (effectively it is a global variable) and it can be redefined * Use &amp;lt;code&amp;gt;const&amp;lt;/code&amp;gt; for values which should not change (remember that properties of the object *can* change, even though the object pointed to cannot) * Use &amp;lt;code&amp;gt;let&amp;lt;/code&amp;gt; for values which may change&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Defining variables ==&lt;br /&gt;
&lt;br /&gt;
* Do not use &amp;lt;code&amp;gt;var&amp;lt;/code&amp;gt; - it is not scoped to blocks (effectively it is a global variable) and it can be redefined&lt;br /&gt;
* Use &amp;lt;code&amp;gt;const&amp;lt;/code&amp;gt; for values which should not change (remember that properties of the object *can* change, even though the object pointed to cannot)&lt;br /&gt;
* Use &amp;lt;code&amp;gt;let&amp;lt;/code&amp;gt; for values which may change&lt;/div&gt;</summary>
		<author><name>Paul</name></author>
	</entry>
</feed>