foo.method()

C
OOP

Haskell
OOP

Java
()

Ruby
()

JavaScript

Scala
.apply ()
aumy ScalaJavaScript退 (1)