Hackerrank Easy Questions With Javascript