Last active
February 9, 2020 13:41
-
-
Save showlovezz/c3fb1c5591206133bd6cfab8cdc64ed5 to your computer and use it in GitHub Desktop.
鼠年全馬鐵人挑戰 - 1-3
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
console.log(status) | |
var status = 'failed'; | |
function getStatus() { | |
console.log(status) | |
var status = 'ok'; | |
return status | |
} | |
// 第一行會印出 failed | |
// 第四行會印出 undefined (未定義) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment