// Write your program here, create suitable objects and put them in the args variable, so that the following code can work normallyletresult;if(args.op=="+"){result=parseInt(args.n1)+parseInt(args.n2);}elseif(args.op=="-"){result=parseInt(args.n1)-parseInt(args.n2);}else{result="Not supported";}console.log(result);
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Use parseInt() to parse the integers.
Fixed code: