var square = function (number) { return number * number; };. 像這類沒有名字的函式在JavaScript 是合法的,通常我們會稱它為「匿名函式」。
確定! 回上一頁