Skip to content

Instantly share code, notes, and snippets.

View pokojt's full-sized avatar

Taylor Pokoj pokojt

View GitHub Profile
@pokojt
pokojt / rockPaperScissors
Created May 23, 2016 00:02
Practice JS
var rockPaperScissors = function(userInput) {
debugger;
var options = userInput.split("");
var combos =[];
for (var i=0; i<options.length; i++) {
for (var j=0; j<options.length; j++) {
for (var k=0; k<options.length; k++) {
var lilArray = [];
lilArray.push(options[i] + options[j] + options[k]);
combos.push(lilArray);