Gets a given property from this JSObject.
T getProperty<T extends JSAny?>(JSAny property) => this[property] as T;