0
???
I want to start a function when a var gets +1 and when a var gets -1. I know that its easy, but still dont know how to code this 😂😂😇
5 ответов
+ 1
function checkValue(arg) {
return arg <0? "value is nagative": "value is positive"
}
Es2016:
const checkValue = arg=>arg <0? "value is nagative": "value is positive"
0
function myFunction(){
var minus = 1;
var plus = -1;
}
This?
0
Speak german?
0
Not fluent, but yeah
0
German here, what's the problem? I don't quite get your question...