Fix syntax error when using typeof
Merge pull request #481 from rafaelfranca/master

Fix syntax error when using typeof