<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									javascript documentation - Simhub General				            </title>
            <link>https://www.simhubdash.com/community-2/simhub-support/javascript-documentation/</link>
            <description>All about SimHub!</description>
            <language>en-US</language>
            <lastBuildDate>Mon, 16 Mar 2026 23:56:55 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: javascript documentation</title>
                        <link>https://www.simhubdash.com/community-2/simhub-support/javascript-documentation/#post-8444</link>
                        <pubDate>Sat, 03 Feb 2024 04:53:06 +0000</pubDate>
                        <description><![CDATA[okay, your answer is really detailed and easy to understand. It helped me when I wanted to learn about javascript documentation]]></description>
                        <content:encoded><![CDATA[
<p>Hi !</p>
<p>Indeed classes are not supported as they are ecma 2015 compliant while SimHub uses an <span>ECMAScript 5.1 compliant engine.</span></p>
<p>All the ecmascript 5.1 rules applies in the engine.</p>
<p>If you want more details about the specific implementation in use in SimHub you can see the jint engine documentation : &lt;a href=" <span style="color: #aaa">removed link</span> "&gt; <span style="color: #aaa">removed link</span></p>
<p>The only specificity compared to classic javascript is that everything wrote in the script is wrapped with a function, then called at every loop :</p>
<p><strong><span style="text-decoration: underline">Example</span></strong><br />you write :<br /><em>return 'a';</em></p>
<p>Simhub will wrap automatically everything with a function, then call it <br /><em>simhubgeneratedfunction(){</em><br /><em>      return 'a';</em><br /><em>}</em></p>
<p> </p>
<p>That structure is indeed made for simple javascript data processing but is not really intended for writing a full program with classes etc ...</p>
<p></p>
<p><span>okay, your answer is really detailed and easy to understand. It helped me when I wanted to learn about javascript documentation</span></p>
<p> </p>]]></content:encoded>
						                            <category domain="https://www.simhubdash.com/community-2/simhub-support/">Simhub General</category>                        <dc:creator>andreps</dc:creator>
                        <guid isPermaLink="true">https://www.simhubdash.com/community-2/simhub-support/javascript-documentation/#post-8444</guid>
                    </item>
				                    <item>
                        <title>RE: javascript documentation</title>
                        <link>https://www.simhubdash.com/community-2/simhub-support/javascript-documentation/#post-759</link>
                        <pubDate>Thu, 23 Apr 2020 09:28:50 +0000</pubDate>
                        <description><![CDATA[Ok, that helps a lot to reduce the time trying &quot;impossible things&quot; :) 
Thanks a lot!]]></description>
                        <content:encoded><![CDATA[<p>Ok, that helps a lot to reduce the time trying "impossible things" :) </p>
<p>Thanks a lot!</p>]]></content:encoded>
						                            <category domain="https://www.simhubdash.com/community-2/simhub-support/">Simhub General</category>                        <dc:creator>roller.inside</dc:creator>
                        <guid isPermaLink="true">https://www.simhubdash.com/community-2/simhub-support/javascript-documentation/#post-759</guid>
                    </item>
				                    <item>
                        <title>RE: javascript documentation</title>
                        <link>https://www.simhubdash.com/community-2/simhub-support/javascript-documentation/#post-744</link>
                        <pubDate>Mon, 20 Apr 2020 14:38:20 +0000</pubDate>
                        <description><![CDATA[Hi !
Indeed classes are not supported as they are ecma 2015 compliant while SimHub uses an ECMAScript 5.1 compliant engine.
All the ecmascript 5.1 rules applies in the engine.
If you want...]]></description>
                        <content:encoded><![CDATA[<p>Hi !</p>
<p>Indeed classes are not supported as they are ecma 2015 compliant while SimHub uses an <span>ECMAScript 5.1 compliant engine.</span></p>
<p>All the ecmascript 5.1 rules applies in the engine.</p>
<p>If you want more details about the specific implementation in use in SimHub you can see the jint engine documentation : <a href="https://github.com/sebastienros/jint">https://github.com/sebastienros/jint</a></p>
<p>The only specificity compared to classic javascript is that everything wrote in the script is wrapped with a function, then called at every loop :</p>
<p><strong><span style="text-decoration: underline">Example</span></strong><br />you write :<br /><em>return 'a';</em></p>
<p>Simhub will wrap automatically everything with a function, then call it <br /><em>simhubgeneratedfunction(){</em><br /><em>      return 'a';</em><br /><em>}</em></p>
<p> </p>
<p>That structure is indeed made for simple javascript data processing but is not really intended for writing a full program with classes etc ...</p>]]></content:encoded>
						                            <category domain="https://www.simhubdash.com/community-2/simhub-support/">Simhub General</category>                        <dc:creator>Wotever</dc:creator>
                        <guid isPermaLink="true">https://www.simhubdash.com/community-2/simhub-support/javascript-documentation/#post-744</guid>
                    </item>
				                    <item>
                        <title>javascript documentation</title>
                        <link>https://www.simhubdash.com/community-2/simhub-support/javascript-documentation/#post-742</link>
                        <pubDate>Mon, 20 Apr 2020 14:26:37 +0000</pubDate>
                        <description><![CDATA[Hi
I have read the &quot;introduction&quot; to javascript for SimHubDash, but when I try to write things like &quot;Class&quot; definition or many other javascript code, it doesn&#039;t work despite I checked the c...]]></description>
                        <content:encoded><![CDATA[<p>Hi</p>
<p>I have read the "introduction" to javascript for SimHubDash, but when I try to write things like "Class" definition or many other javascript code, it doesn't work despite I checked the code in a "code checker" that say it's properly written.</p>
<p>Is there any "Javascript for SimHubDash" documentation? or any other reference?</p>
<p>Thanks a lot for your help</p>]]></content:encoded>
						                            <category domain="https://www.simhubdash.com/community-2/simhub-support/">Simhub General</category>                        <dc:creator>roller.inside</dc:creator>
                        <guid isPermaLink="true">https://www.simhubdash.com/community-2/simhub-support/javascript-documentation/#post-742</guid>
                    </item>
							        </channel>
        </rss>
		