HF RL Explorer

Task: Implement a Signum Function in JavaScript

Task: Implement a Signum Function in JavaScript: a task in Terminal-Lego-15k (Harbor dataset). Implement a JavaScript function called sign that returns the sign of a number (signum function). The function should determine whether a number is positive, negative, or zero.

Part of PrimeIntellect/Terminal-Lego-15k.