-
-
Save codecademydev/50fa04467bfd642da372050aa68e67f7 to your computer and use it in GitHub Desktop.
Codecademy export
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
// Nicely written function: | |
var calculate = function (number) { | |
var val = number * 10; | |
console.log(val); | |
}; | |
// Badly written function with syntax errors! | |
var greeting = function (name) { | |
console.log("Hello" name); | |
} | |
greeting("Vlasis"); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment