Personio interview question

Simple js questions, no algorithm