Why parseInt(0.0000005) returns 5 in JavaScript - Coding Beauty

Why parseInt(0.0000005) returns 5 in JavaScript - Coding Beauty