mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-25 07:32:39 +01:00
Fix Ary#toString et al.
This commit is contained in:
@@ -1819,7 +1819,7 @@ var Ary = Class("Ary", Array, {
|
||||
if (prop == "array")
|
||||
return target;
|
||||
|
||||
if (prop in Ary && callable(Ary[prop]))
|
||||
if (hasOwnProperty(Ary, prop) && callable(Ary[prop]))
|
||||
return arrayWrap(Ary[prop].bind(Ary, target));
|
||||
|
||||
let p = target[prop];
|
||||
|
||||
Reference in New Issue
Block a user