物件字面值的形式使得這種慣用語法更容易閱讀與撰寫: var alert = new Alert({ x: 100, y: 75, width: 300, height: 200, title: "Error", message: message, ...
確定! 回上一頁