diff options
Diffstat (limited to 'testing/SendLog/js/Queue.js')
-rw-r--r-- | testing/SendLog/js/Queue.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/testing/SendLog/js/Queue.js b/testing/SendLog/js/Queue.js deleted file mode 100644 index 075a103..0000000 --- a/testing/SendLog/js/Queue.js +++ /dev/null @@ -1,2 +0,0 @@ -//code.stephenmorley.org -function Queue(){var a=[],b=0;this.getLength=function(){return a.length-b};this.isEmpty=function(){return 0==a.length};this.enqueue=function(b){a.push(b)};this.dequeue=function(){if(0!=a.length){var c=a[b];2*++b>=a.length&&(a=a.slice(b),b=0);return c}};this.peek=function(){return 0<a.length?a[b]:void 0}};
\ No newline at end of file |