mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
26 lines
324 B
JavaScript
26 lines
324 B
JavaScript
/**
|
|
* @param x The first operand.
|
|
*/
|
|
function f(x, y) { // $ Alert
|
|
return x+y;
|
|
}
|
|
|
|
/**
|
|
* OK: Neither parameter is documented.
|
|
*/
|
|
function g(x, y) {
|
|
return x+y;
|
|
}
|
|
|
|
/**
|
|
* @param {int} x
|
|
* @param {float} y
|
|
*/
|
|
var o = {
|
|
/**
|
|
* @param {String} x first argument.
|
|
*/
|
|
f : function(x, y) { // $ Alert
|
|
}
|
|
};
|