MCPcopy Create free account
hub / github.com/GoogleChrome/samples / constructor

Method constructor

classes-es6/demo.js:195–197  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

193
194class Stack extends Array {
195 constructor() {
196 super();
197 }
198
199 top() {
200 return this[this.length - 1];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected