This is a Javascript terminology use to provide a logical decision on your web. code example
Example: javascript function that make a choice
function computerplay() {
choices = ["rock", "paper", "scissors"]
var ai = choices[Math.floor(Math.random() * choices.length)]
return ai;
}