StackOverflow 文件 Scala Language 教程 Scala.js 胖箭頭函式 胖箭頭函式 Created: November-22, 2018 val lastNames = people.map(p => p.lastName) // Or shorter: val lastNames = people.map(_.lastName) 簡單的類Scala.js 中的 console.log