codeql/javascript/ql/test/library-tests/Externs/Point.js

21 строка
317 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;
/** @externs */