Next let's add some code to invoke this function and test out the binding: var scale = 1.0;bound function makePoint(xPos : Number, yPos : Number) : Point { Point { x: xPos * scale y: yPos * scale } }class Point { var x : Number; var y : Nu…
引用をストックしました
引用するにはまずログインしてください
引用をストックできませんでした。再度お試しください
限定公開記事のため引用できません。