NoBroker interview question

JS output based questions, Polyfills , Classes in js