how to run a script on loop in chromebook code example Example: google script for loop for(var i = 0; i < 5; i++) { num = num * i+1; }