/*
Write a function all_else_equal that takes in an array of numbers. The method
should return the element of the array that is equal to half of the sum of all
elements of the array. If there is no such element, the function should return null.
*/
console.log(allElseEqual([2, 4, 3, 10, 1]));
console.log(allElseEqual([6, 3, 5, -9, 1]));
console.log(allElseEqual([1, 2, 3, 4]));
На этой странице сайта вы можете посмотреть видео онлайн JavaScript Coding Challenge/Interview Question: All Else Equal длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Daily Coding Challenges 08 Март 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 25 раз и оно понравилось 1 зрителям. Приятного просмотра!