Course contentsShow
JavaScript
Lesson 1597 of 2,72335. Standard Library and Built-insPro lesson

Math.sign to Determine Number Polarity

Learn how Math.sign returns -1, 0, or 1 to indicate whether a number is negative, zero, or positive.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.