databricks / databricks-sql-nodejs

Databricks SQL Connector for Node.js
Apache License 2.0
24 stars 32 forks source link

Fix polyfill #254

Closed kravets-levko closed 5 months ago

kravets-levko commented 5 months ago

Change condition in polyfill. hasOwnProperty still returns true if property is available but its value is undefined. Also, the condition contained typo. Instead, explicitly check if ArrayConstructor.prototype.at is a function.