Skip to content

Commit 45574d4

Browse files
author
Max Schaefer
committed
JavaScript: Minor change to documentation to facilitate opening another PR.
1 parent 39f1c79 commit 45574d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/ql/src/Security/CWE-754/UnvalidatedDynamicMethodCall.qhelp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ could choose a name that makes the application invoke an unexpected method, whic
1111
exception. If this exception is not handled, it could be used to mount a denial-of-service attack.
1212
</p>
1313
<p>
14-
For example, there might not be a method of the given name or the result of the lookup might not be
15-
a function, which would cause the method call to throw a <code>TypeError</code> at runtime.
14+
For example, there might not be a method of the given name, or the result of the lookup might not be
15+
a function. In either case the method call will throw a <code>TypeError</code> at runtime.
1616
</p>
1717
<p>
1818
Another, more subtle example is where the result of the lookup is a standard library method from

0 commit comments

Comments
 (0)