Update src/stack.js

added default fn for the case: Stack().push(a).push(b).push(c).call(1)