My main goal is to use a flag when building a project in command line. So I can add own flags like DEBUG or MY_FLAG. #ifdef DEBUG #define debug_print(format, ..
I have a binary string which I want to convert to the equivalent flag enum value. My attempt: const permissionNum = parseInt(this.auth.decodedToken.permissions