We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Version: 3.6.2
Bug: Stack should return the last value when last() is called.
last()
Example:
var l = Immutable.List([1, 2, 3, 4]); var s = Immutable.Stack(l); s.first(); // 1 s.last(); // undefined s.size; // 4 s.get(3); // 4