()
| 23 | var symbolDispose = require('../Symbol.dispose/polyfill')(); |
| 24 | |
| 25 | var DisposableStack = function DisposableStack() { |
| 26 | if ( |
| 27 | !(this instanceof DisposableStack) |
| 28 | || SLOT.has(this, '[[DisposableState]]') |
| 29 | || SLOT.has(this, '[[DisposeCapability]]') |
| 30 | ) { |
| 31 | throw new $TypeError('can only be used with new'); |
| 32 | } |
| 33 | SLOT.set(this, '[[DisposableState]]', 'PENDING'); |
| 34 | SLOT.set(this, '[[DisposeCapability]]', NewDisposeCapability()); |
| 35 | }; |
| 36 | |
| 37 | var disposed = function disposed() { |
| 38 | var disposableStack = this; // step 1 |
no outgoing calls
no test coverage detected
searching dependent graphs…