Created
December 27, 2020 21:29
-
-
Save reime005/59ec4c3e7177c197301eed0321afc6da to your computer and use it in GitHub Desktop.
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 printSomething0(input) { | |
console.log(input); | |
} | |
const printSomething1 = input => console.log(input); | |
const printSomething2 = function printSomething2(input) { | |
console.log(input); | |
} | |
printSomething0('test0'); // prints 'test0' | |
printSomething1('test1'); // prints 'test1' | |
printSomething2('test2'); // prints 'test2' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment