dojox
»
collections
»
Queue
» peek
dojox.collections.Queue.peek
dojo.require("dojox.collections.Queue");
defined in dojox/collections/Queue.js
get the next element in the queue without altering the queue.
Usage
function ()
(view source)
return
q
[
0
]
;