Siemens interview question

Questions around es6 features