dev-serum
Search...
Ctrl
K
Data Structures & Algorithms
Coding Challenges
Codewars
8Kyu
Return Negative
Previous
Convert a Number to a String!
Next
Count of positives / sum of negatives
Last updated
4 years ago
Was this helpful?
Approach
Solution
JavaScript
Copy
const makeNegative = (num) => Math.abs(num) * -1;
Return Negative
Codewars