Update an element of an array using .find and .findIndex Javascript

Published --