-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
Copy pathes2017.js
46 lines (40 loc) · 900 Bytes
/
es2017.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
* Copyright 2016 Semmle
*/
/**
* @fileoverview Definitions approved for inclusion in ECMAScript 2017.
* @see https://github.com/tc39/proposals/blob/master/finished-proposals.md
* @externs
*/
/**
* @param {*} obj
* @return {!Array}
* @nosideeffects
*/
Object.values = function(obj) {};
/**
* @param {*} obj
* @return {!Array.<Array>}
* @nosideeffects
*/
Object.entries = function(obj) {};
/**
* @param {number} maxLength
* @param {string=} fillString
* @return {string}
* @nosideeffects
*/
String.prototype.padStart = function(maxLength, fillString) {};
/**
* @param {number} maxLength
* @param {string=} fillString
* @return {string}
* @nosideeffects
*/
String.prototype.padEnd = function(maxLength, fillString) {};
/**
* @param {!Object} obj
* @return {!Array.<!ObjectPropertyDescriptor>}
* @nosideeffects
*/
Object.getOwnPropertyDescriptors = function(obj) {};