You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Christopher Fremond 2b28baf3c5
Update README.md
3 years ago
..
README.md Update README.md 3 years ago

README.md

Abs

Instructions

Create a isPositive function that takes a number as parameter and return true if the given number is stricly positive, or false otherwise

Create the abs function that takes one number argument and returns its absolute value. You are not allowed to use Math.abs, make your own.

Notions

Code provided

all code provided will be added to your solution and does not need to be submited.

Math.abs = undefined