cody - HTMLify profile
files of /cody/lassiecoder/mutual-funding-app/server/node_modules/denque/
Copyright (c) 2018 Mike Diarmid (Salakar) <mike.diarmid@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License
Licensed under the Apache License, Version 2.0 (the "License
<p align="center">
<a href="https://invertase.io">
<img src="https://static.invertase.io/assets/invertase-logo-small.png">
<a href="https://invertase.io">
<img src="https://static.invertase.io/assets/invertase-logo-small.png">
declare class Denque<T = any> {
constructor();
constructor(array: T[]);
push(item: T): number;
unshift(item: T): number
constructor();
constructor(array: T[]);
push(item: T): number;
unshift(item: T): number
'use strict';
/**
* Custom implementation of a double ended queue.
*/
function Denque(array) {
this._head = 0;
this._tail
/**
* Custom implementation of a double ended queue.
*/
function Denque(array) {
this._head = 0;
this._tail