Skip to content

Instantly share code, notes, and snippets.

@showlovezz
Created February 15, 2020 16:36
Show Gist options
  • Save showlovezz/5fc1e70a4da5486fb98b1fe20c9d1b22 to your computer and use it in GitHub Desktop.
Save showlovezz/5fc1e70a4da5486fb98b1fe20c9d1b22 to your computer and use it in GitHub Desktop.
鼠年全馬鐵人挑戰 - 2-2
const mathDouble = function(a) { // 函式表達式
return a * 2;
}
console.log(mathDouble (10)) // 呼叫函式
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment