Array.prototype.push源码
如题,想学习push的源码实现,但不清楚怎么查看源码。。。
==update 17/4
找到如下源码,怎么找接口的实现类 ?
interface Array {
...
/**
* Appends new elements to an array, and returns the new length of the array.
* @param items New elements of the Array.
*/
push(...items: T[]): number;
...
}