author | Alan Dipert
<alan@dipert.org> 2019-11-04 06:37:34 UTC |
committer | Alan Dipert
<alan@dipert.org> 2019-11-04 06:37:34 UTC |
parent | 50bf8f941fb786543691408cad99f4eb90358010 |
jacl.js | +0 | -1 |
diff --git a/jacl.js b/jacl.js index 220236b..ae7b766 100644 --- a/jacl.js +++ b/jacl.js @@ -1565,7 +1565,6 @@ const emitNode = (print, node) => { // &allow-other-keys after the &key section or by supplying the keyword // param :allow-other-keys with a logically true value print(`if(!${node.lambdaList.keyAllowOthers}&&!(keyVals.hasOwnProperty('${allowOtherKw}')&&keyVals['${allowOtherKw}']!==null)){\n`); - print('console.log("WTF");\n'); print('for(var prop in keyVals){\n'); print(`if(keyVals.hasOwnProperty(prop)){\n`); print(`if(!knownKeys.includes(prop))throw new Error('Unknown keyword argument: '+prop);\n`);