Checks if a variable is iterable or not, if it isn’t make it iterable

Symbol.iterator in variable ? variable : [variable]