Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
441 B
1
Indexable
Never
var num1 = 10
var num2 = 4
var operators = ["x", "+","-",":"]

var random = .......
var choosenOperator = operators[random]

switch(......){
  case "........" :
    total = num1 ..... num2
    console.log(total)
  break;
    
  case ........ :
    .............
    console.log(total)
  break;
    
  case ........ :
    .............
    console.log(total)
  break;
    
  case ........ :
    .............
    console.log(total)
  break;
}