The Nearest Element
Given an array of integers arr, implement a function that returns the index of the number nearest to...
Tags: replit, javascript