Felix213434
New Coder
Hello i have an question : exist an way to set an opertator like "*" ,"-", or "+" in a variable like " var operator = -; " ?
Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!
Hmm that’s a good question! I’ll try to find an answer for you!Hello i have an question : exist an way to set an opertator like "*" ,"-", or "+" in a variable like " var operator = -; " ?
var operator = -
var operator = +
var Operator = 12; or var Operator;.var Operator = -12;that wont help cause i now how to use variables but i need a variable to declare to "-" ,"+","*"or"/"
Code Forum is a community platform where coding enthusiasts can connect with other developers, engage in discussions, ask for help, and share their knowledge with a supportive community. It's a perfect place to improve your coding skills and to find a community of like-minded individuals who share your passion for coding.
We use essential cookies to make this site work, and optional cookies to enhance your experience.