Find The Pivot Integer Leetcode Problems Javascript Function Arguments