Write code to explain higher-order function | Higher Order Functions | javascript Interview Questions | NextRound.in