Marlabs interview question

how to create an object