Go Basic Hackerrank Javascript Questions