Last active
July 1, 2017 13:49
-
-
Save elenaparaschiv/c3a1584e541f9f1476e7f381043043ed to your computer and use it in GitHub Desktop.
completed Challange1 https://github.com/gordonmzhu/beasts/issues/2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function runWithDebugger(callback, optionalArguments){ | |
debugger; | |
callback.apply(this, optionalArguments); | |
} | |
function sayFullName(first, last) { | |
console.log( "Hi " + first + " "+ last); | |
} | |
// expected result ---> 'Hi Elena Paraschiv' | |
runWithDebugger(sayFullName, ["Elena", "Paraschiv"]); |
fixed it. sorry about that :)
Oh also in line 3 you need space after this
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👍 looks good. However formatting is inconsistent. This should also be saved as a .js file, not .txt.