Files
codeql/javascript/ql/test/library-tests/Externs/Point.js
2018-08-02 17:53:23 +01:00

20 lines
338 B
JavaScript

/** @constructor */ function Point(x, y) {}
Point.prototype.move = function(dx, dy) {};
Point.prototype.obj = {};
Point.prototype.secret;
Point.ORIGIN;
Point.foo = function() {};
var someGlobal;
/** @typedef {String} */
var MyString;
Point.prototype['final'];
/** @type {!Point} */
var aPoint;
//semmle-extractor-options: --externs