mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-02 03:45:45 +01:00
Add ;A and fix 'eht' setting bug.
This commit is contained in:
@@ -1762,7 +1762,7 @@ Object.keys(array).forEach(function (k) {
|
||||
});
|
||||
|
||||
Object.getOwnPropertyNames(Array.prototype).forEach(function (k) {
|
||||
if (!(k in iterProto))
|
||||
if (!(k in iterProto) && callable(Array.prototype[k]))
|
||||
iterProto[k] = function () {
|
||||
let ary = iter(this).toArray();
|
||||
let res = ary[k].apply(ary, arguments);
|
||||
|
||||
Reference in New Issue
Block a user