Skip to content

Instantly share code, notes, and snippets.

@micarguez
Created May 22, 2023 05:33
const number = -5;
const result = number >= 0 ? 'Positive' : 'Negative';
console.log(result); // Output: Negative
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment