Smartly interview question

Some technical JS and React tasks