budgielang / ts-budgie

Converts TypeScript code to Budgie. 🦜
https://budgielang.org
MIT License
2 stars 0 forks source link

Recognize hasOwnProperty checks as dictionary lookups #50

Open JoshuaKGoldberg opened 6 years ago

JoshuaKGoldberg commented 6 years ago

See CommandsBag.cs output from GLS.

Input:

if (this.commands.hasOwnProperty(metadata.name))

Output:

if (this.commands["hasOwnProperty"])