5
Answers

what is wrong when executed this statment ?

Photo of ahmed salah

ahmed salah

3y
862
1

I work on Type script i need to ask question what is wrong when executed this statatment

what is error existing on block below when executing it

i need error syntax or logic

 

Const value=Math.random()<0.5?"a":"b"
if(value !=="a")
{
}
else if(value==="b")
{
}

Answers (5)