Couchbase interview question

Round1: Arrays and Strings Round2: String, Javascript