JS: more comments

This commit is contained in:
Asger F
2018-11-21 11:14:13 +00:00
parent 7d80847832
commit 84d642612e
2 changed files with 4 additions and 1 deletions

View File

@@ -30,7 +30,7 @@ with the name <code>eval</code>.
<sample src="examples/MethodNameInjection.js" />
<p>
Instead of storing the API methods in the global scope, put them in an API object. It is also good
Instead of storing the API methods in the global scope, put them in an API object or Map. It is also good
practice to prevent invocation of inherited methods like <code>toString</code> and <code>valueOf</code>.
</p>