liammclennan/JavaScript-Koans topic array -


i have problem in exercise:

test("stack methods", function() {     var stack = [];     stack.push("first");     stack.push("second");      equal("second" , stack.pop(), 'what first value popped off stack?');     equal("first", stack.pop(), 'what second value popped off stack?'); }); 

in chrome console works great, qunit showing error in second test.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -