# 函式陳述式與函式表達式的差異 1.函式陳述式: function functionStatement (){ //doSomething } 函式陳述式帶有 hoisting 的特性,但不會回傳結果值 2.函式表達式: var functionExpression = function(){ //doSomeThing } 函式表達式不帶有 hoisting 的特性,但會回傳結果值
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up