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