Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
How to perform 4 arithmetic operations in one function using text areas in java script?

What I have tried:

by using different functions i have tried.....but by using one function performing arithmetic operations i am not getting in java script.
Posted
Updated 3-Jul-17 8:15am
Comments
OriginalGriff 3-Jul-17 14:12pm    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work from.
And that question means little or nothing to me without any context in which your code works (or doesn't, in this case).
Use the "Improve question" widget to edit your question and provide better information.

1 solution

JavaScript has a lot of nasty things one of them is eval[^], and while it can solve your little problem here, you do not want to use it for real - believe me!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900