3 lines
53 B
JavaScript
3 lines
53 B
JavaScript
|
export default function(x) {
|
||
|
return x<0 ? -1 : 1;
|
||
|
}
|