We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52cafdf commit 97b8126Copy full SHA for 97b8126
javascript/ql/src/Security/CWE-754/examples/UnvalidatedDynamicMethodCallGood.js
@@ -2,10 +2,10 @@ var express = require('express');
2
var app = express();
3
4
var actions = new Map();
5
-actions.put("play", function play(data) {
+actions.set("play", function play(data) {
6
// ...
7
});
8
-actions.put("pause", function pause(data) {
+actions.set("pause", function pause(data) {
9
10
11
0 commit comments