| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2014 The Closure Compiler Authors | 2 * Copyright 2014 The Closure Compiler Authors |
| 3 * | 3 * |
| 4 * Licensed under the Apache License, Version 2.0 (the "License"); | 4 * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 * you may not use this file except in compliance with the License. | 5 * you may not use this file except in compliance with the License. |
| 6 * You may obtain a copy of the License at | 6 * You may obtain a copy of the License at |
| 7 * | 7 * |
| 8 * http://www.apache.org/licenses/LICENSE-2.0 | 8 * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 * | 9 * |
| 10 * Unless required by applicable law or agreed to in writing, software | 10 * Unless required by applicable law or agreed to in writing, software |
| (...skipping 968 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 979 | 979 |
| 980 | 980 |
| 981 /** | 981 /** |
| 982 * @param {function(*): RESULT} onRejected | 982 * @param {function(*): RESULT} onRejected |
| 983 * @return {!Promise<RESULT>} | 983 * @return {!Promise<RESULT>} |
| 984 * @template RESULT | 984 * @template RESULT |
| 985 */ | 985 */ |
| 986 Promise.prototype.catch = function(onRejected) {}; | 986 Promise.prototype.catch = function(onRejected) {}; |
| 987 | 987 |
| 988 | 988 |
| 989 /** |
| 990 * @param {T} value |
| 991 * @param {number=} start |
| 992 * @param {number=} end |
| 993 * @this {!Array<T>} |
| 994 * @template T |
| 995 */ |
| 996 Array.prototype.fill = function(value, start, end) {} |
| 997 |
| 998 |
| 999 /** |
| 1000 * @param {function(this:S,T,number,!Array<T>)} callback |
| 1001 * @param {?S=} thisArg |
| 1002 * @this {!Array<T>} |
| 1003 * @template T,S |
| 1004 */ |
| 1005 Array.prototype.find = function(callback, thisArg) {} |
| 1006 |
| 1007 |
| 989 /** @return {!Array<number>} */ | 1008 /** @return {!Array<number>} */ |
| 990 Array.prototype.keys; | 1009 Array.prototype.keys; |
| 991 | 1010 |
| 992 | 1011 |
| 993 /** | 1012 /** |
| 994 * @return {!Array<!Array>} An array of [key, value] pairs. | 1013 * @return {!Array<!Array>} An array of [key, value] pairs. |
| 995 */ | 1014 */ |
| 996 Array.prototype.entries; | 1015 Array.prototype.entries; |
| 997 | 1016 |
| 998 | 1017 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1070 */ | 1089 */ |
| 1071 Number.isInteger = function(value) {}; | 1090 Number.isInteger = function(value) {}; |
| 1072 | 1091 |
| 1073 /** | 1092 /** |
| 1074 * @param {number} value | 1093 * @param {number} value |
| 1075 * @return {boolean} | 1094 * @return {boolean} |
| 1076 * @nosideeffects | 1095 * @nosideeffects |
| 1077 * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global
_Objects/Number/isSafeInteger | 1096 * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global
_Objects/Number/isSafeInteger |
| 1078 */ | 1097 */ |
| 1079 Number.isSafeInteger = function(value) {}; | 1098 Number.isSafeInteger = function(value) {}; |
| OLD | NEW |