Nullclass interview question

Basic questions of js and python