fix(Example)

- Change to account for length(undefined) throwing error
Change according to suggestion
Merge pull request #59 from wesleycho/fix/null-example

fix(Example)