Or even ``` infix fun String.`in`(obj: Any): Boole...
# javascript
g
Or even
Copy code
infix fun String.`in`(obj: Any): Boolean {
    return obj.asDynamic().hasOwnProperty(this) == true
}
// "ontouchstart" `in` window
but I like first option more
f
note that
prop in obj
and
obj.hasOwnPRoperty(prop)
aren't the same things in JS