diff --git a/lib/index.js b/lib/index.js index c8d1790..5a75b9e 100644 --- a/lib/index.js +++ b/lib/index.js @@ -59,7 +59,7 @@ function Table (options){ * Inherit from Array. */ -Table.prototype.__proto__ = Array.prototype; +Object.setPrototypeOf(Table.prototype, Array.prototype); /** * Width getter