darwinLabs interview question

Enumerate some javascript error types