Keycafe interview question

JavaScript, make a array immutable inside a class instance