Method overloading
It is possible to define a function or method multiple times with different signatures:
package me.diantha.fns {
public function f():Number {
//
}
public function f(val:Number) {
//
}
}
It is possible to define a function or method multiple times with different signatures:
package me.diantha.fns {
public function f():Number {
//
}
public function f(val:Number) {
//
}
}