Closed edef1c closed 6 years ago
It'd be nice to have a shortcut for hasOwnProperty. Proposed syntax: own k in o Proposed compilation:
own k in o
var own$ = {}.hasOwnProperty; own$.call(o, k);
That syntax doesn't work.
See also: jashkenas/coffee-script#2103
o has k is fine with me too - just some kind of syntax for this would rock.
o has k
It'd be nice to have a shortcut for hasOwnProperty. Proposed syntax:
own k in o
Proposed compilation: