© 2026 Hedgehog Software, LLC
let compValue; if(randomNum>=0&&randomNum<1/3){ compValue = 'Rock'; } console.log(compValue)//Rock
randomNum>=0&&randomNum<1/3 && compValue='Rock';