| 2 | |
| 3 | declare global { |
| 4 | interface Array<T> { |
| 5 | /** Returns the last element from an array */ |
| 6 | last(): T; |
| 7 | /** Deletes all elements from an array */ |
| 8 | clear(): void; |
| 9 | /** Returns true if the element is found in the array */ |
| 10 | contains(elem: T): boolean; |
| 11 | } |
| 12 | } |
| 13 | |
| 14 | if (!Array.prototype.last) { |
no outgoing calls
no test coverage detected