I want to make some sort of C trace.
function trace(level,param)
{
if (level>=TRACELEVEL)
console.log(param);
}
#define TRACE_FATAL 0
#define TRACE_INFO 7
#define TRACELEVEL TRACE_INFO
How to implement constas in Javascript like
FIND_MY_CREEPS: 102