You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I have a correct solution to exercise #4 in the scope-chain-closures tutorial, but I'm also pretty new at node, so maybe I'm missing something?
node version: v4.4.3
npm version: 3.8.8
Error output
not ok 2 The structure is correct
---
operator: equal
expected:
'(global)\n\tfoo()\n\t- var bar\n\t- quux = ?\n\treturn zip\n\t\tzip()\n\t\t- var quux\n\t\t- bar = ?'
actual:
'(global)\n\tfoo()\n\t- var bar\n\t- quux = ?\n\t\tzip()\n\t\t- var quux\n\t\t- bar = ?'
...
@dawesome Your solution is correct but the parser for this exercise expects the code to be structured a certain way (weird, I know). So, instead of returning the zip function immediately, return it after you declare it -
I think I have a correct solution to exercise #4 in the scope-chain-closures tutorial, but I'm also pretty new at node, so maybe I'm missing something?
Error output
My Code
The text was updated successfully, but these errors were encountered: