DEV Community

Cover image for Triple All the Numbers
Jackson Reeves
Jackson Reeves

Posted on

Triple All the Numbers

This function takes in an array and returns a new array containing each element from the first array after they were multiplied by three. Note the comments interspersed in the code. They act as guideposts, explaining each step of the code in pseudocode to make it easier for the non-coder to understand.

Top comments (0)