Methods
// define on the object type
Object.funny = def() -> (
return "FUNNY" self
// return "FUNNY" and the value that this method is called on "self": {}
)
// call the method on an object
log {}.funny()
// FUNNY {}Last updated
// define on the object type
Object.funny = def() -> (
return "FUNNY" self
// return "FUNNY" and the value that this method is called on "self": {}
)
// call the method on an object
log {}.funny()
// FUNNY {}Last updated