-
-
Save yukkeorg/94fb497e1639e786a4acc55c060ed84f to your computer and use it in GitHub Desktop.
teratail-79856
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
yukke@yukke-rpi3:~ $ nvm ls | |
-> v6.10.3 | |
default -> v6.10.3 | |
node -> stable (-> v6.10.3) (default) | |
stable -> 6.10 (-> v6.10.3) (default) | |
iojs -> N/A (default) | |
lts/* -> lts/boron (-> N/A) | |
lts/argon -> v4.8.3 (-> N/A) | |
lts/boron -> v6.11.0 (-> N/A) | |
yukke@yukke-rpi3:~ $ node -v | |
v6.10.3 | |
yukke@yukke-rpi3:~ $ node test.js | |
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 f(func) { | |
let ret = func(); | |
console.log(ret); | |
} | |
f(() => { return 1 + 1; }); // => 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment