Home > rc-js-util > CircularFIFOStack > (constructor)
Constructs a new instance of the CircularFIFOStack class
Signature:
constructor(capacity: number, mode?: ECircularStackOverflowMode);
| Parameter | Type | Description |
|---|---|---|
| capacity | number | |
| mode | ECircularStackOverflowMode | (Optional) |