Everledger interview question

Work process and some js logic questions