mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
add query for detecting uses return-values from functions that does not return a value
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
var stage = require("./stage")
|
||||
|
||||
function renderText(text, id) {
|
||||
document.getElementById(id).innerText = text;
|
||||
}
|
||||
|
||||
var text = renderText("Two households, both alike in dignity", "scene");
|
||||
|
||||
stage.show(text);
|
||||
Reference in New Issue
Block a user