dojox
»
collections
»
Stack
» peek
dojox.collections.Stack.peek
dojo.require("dojox.collections.Stack");
defined in dojox/collections/Stack.js
Return the next item without altering the stack itself.
Usage
function ()
(view source)
return
q
[
(
q.
length
-1
)
]
;
// object