Create combination.js

Given a string, “game,” write a function to output an array with combinations like [‘g’, ‘ga’, ‘gam’, ‘game’, ‘ame’, ‘me’, ‘e’]