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/TrigFun.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'js/NonLinear/TrigFun.js') diff --git a/js/NonLinear/TrigFun.js b/js/NonLinear/TrigFun.js index 78f23521..6bc2eca5 100644 --- a/js/NonLinear/TrigFun.js +++ b/js/NonLinear/TrigFun.js @@ -16,9 +16,7 @@ function TrigFun() { return this.x; } TrigFun.prototype.get = function TrigFun() { - var options = { - } - return options; + alert("parameters cannot be modified"); } TrigFun.prototype.set = function TrigFun() { this.exprs = this.graphics.exprs; -- cgit