prevent strings being mistaken as arrays
Merge pull request #10 from neonstalwart/undefined-value

prevent strings being mistaken as arrays