Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const _directiveOrder = genus =>
BLOCK_DIRECTIVES.indexOf(genus) > -1
? 'block'
: INLINE_DIRECTIVES.indexOf(genus) > -1
? 'inline'
: MISC_DIRECTIVES.indexOf(genus) > -1
? 'misc'
: null