From 0b627cfc50bb740a3a3f110285253e4f404e012f Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Tue, 17 Jul 2018 12:01:51 +0530 Subject: handle case when there are no options --- js/NonLinear/PROD_f.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'js/NonLinear/PROD_f.js') diff --git a/js/NonLinear/PROD_f.js b/js/NonLinear/PROD_f.js index ead16ab5..807a8fd2 100644 --- a/js/NonLinear/PROD_f.js +++ b/js/NonLinear/PROD_f.js @@ -14,9 +14,7 @@ function PROD_f() { return this.x; } PROD_f.prototype.get = function PROD_f() { - var options = { - } - return options; + alert("parameters cannot be modified"); } PROD_f.prototype.set = function PROD_f() { return new BasicBlock(this.x); -- cgit