Remove Duplicate Javascript Array Methods Interview