How would I make this actual code?
if(value === positive)
{
if(value < otherValue)
{
do thing A
}
}
else
{
if(value is > otherValue)
{
do thing B
}
}
EDIT: Maybe if positive is a boolean?
var isPositive = false;
if(value > 0)
{
isPositive = true;
}
else
{
isPositive = false;
}