diff --git a/src/functions/AeplSetName.js b/src/functions/AeplSetName.js index d680ebd..0c3372d 100644 --- a/src/functions/AeplSetName.js +++ b/src/functions/AeplSetName.js @@ -4,7 +4,7 @@ module.exports = (c) => ({ - data: function AeplSetName(name, autodefine) { + data: function AeplSetName(name, autodefine=true) { Object.defineProperty(c, "name", { value: name }); if (autodefine) return new Function("cl", `return ${name} = cl`)(c); },