Brimore interview question

set time out set interval react js functionality