mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 16:17:59 +01:00
Make further use of default parameters.
--HG-- extra : rebase_source : ab666bce7ed7e47c8f1e2bc4145f553da990d319
This commit is contained in:
@@ -502,11 +502,10 @@ var Modes = Module("modes", {
|
||||
return StackElement;
|
||||
})(),
|
||||
cacheId: 0,
|
||||
boundProperty: function BoundProperty(desc) {
|
||||
boundProperty: function BoundProperty(desc = {}) {
|
||||
let id = this.cacheId++;
|
||||
let value;
|
||||
|
||||
desc = desc || {};
|
||||
return Class.Property(update({
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
|
||||
Reference in New Issue
Block a user