Klenty interview question

Completed the first round, was a basic js question and and reduce methods and difference between authorisation and authentication