switchBoard icon indicating copy to clipboard operation
switchBoard copied to clipboard

ai variable discouraged

Open dataf3l opened this issue 1 year ago • 0 comments

so this "var ai=" thing may have a problem with upcoming changes on the browser and possibly also nodejs as it usually mimics browser apis precisely, as it hides window.ai maybe it should be renamed to prevent future potential conflicts to another name.

have an awesome day!

https://github.com/imbrianj/switchBoard/blob/25da17d35abe5f8c9ff4c971949201b1effc7387/lib/db.js#L224

dataf3l avatar Jun 27 '24 11:06 dataf3l