mirror of
https://github.com/github/codeql.git
synced 2026-05-02 12:15:17 +02:00
JS: more comments
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user