samples
samples copied to clipboard
typo needed to compare to 'undefined' not undefined
there's a typo in your comments. It happens to be a highly ranking page on google and i copy pasted the incorrect code only to find out it had a typo