Update test.js

lenght -> length