extend

fun extend(props: Any): Any(source)

Extends the current class given the properties to be included. Returns a Javascript function that is a class constructor (to be called with new).