CVS Health interview question

Very specific detailed Javascript questions