SixSense Interview Question

Basic questions based on javascript