cincheo / jsweet

A Java to JavaScript transpiler.
http://www.jsweet.org
Other
1.46k stars 160 forks source link

how can i check window.somecustomproperty in jsweet? #534

Closed aneer-anwar closed 5 years ago

aneer-anwar commented 5 years ago

I have a question which may be simple but I can't figure it out. how can i check window.somecustomproperty in jsweet?

lgrignon commented 5 years ago

Like in JS, please use hasOwnProperty

Please close issue if ok for you

aneer-anwar commented 5 years ago

Oh silly me! . 'hasOwnProperty' solved my issue. Thanks a lot for the quick response.