#defer

You can do it without loop

As you know there are three ways of running loop in JavaScript.'for', 'while' and 'do while'. If we have any array or List we use array find something in edit or to do any transformation.