mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
25 lines
493 B
JavaScript
25 lines
493 B
JavaScript
/**
|
|
* Externs for Spidermonkey-specific API.
|
|
*
|
|
* @externs
|
|
*/
|
|
|
|
/**
|
|
* @param {Object} object
|
|
* @param {*=} keyOnly
|
|
* @return {Object}
|
|
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Iterator
|
|
*/
|
|
function Iterator(object, keyOnly) {}
|
|
|
|
/**
|
|
* @return {*}
|
|
*/
|
|
Iterator.prototype.next = function() {};
|
|
|
|
/**
|
|
* @type {Object}
|
|
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/StopIteration
|
|
*/
|
|
var StopIteration;
|