logo

Crowdly

Що поверне даний код, якщо (aValue < bValue) = true, а direction = 'desc' ? if (...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Що поверне даний код, якщо (aValue < bValue) = true, а direction = 'desc' ?

if (aValue < bValue) return direction === 'asc' ? -1 : 1

More questions like this

Want instant access to all verified answers on moodle.oa.edu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!