qmlcore
qmlcore copied to clipboard
static function declaration
static will put functions into function object instead of prototype:
class Foo {
static function bar() { log('hey') }
}
Foo.bar()
static will put functions into function object instead of prototype:
class Foo {
static function bar() { log('hey') }
}
Foo.bar()