I'm not sure what you're trying to express. The "squiggly brackets" example is not valid JavaScript.
If you need to disambiguate associativity, you need to wrap with parentheses:
const secret = msg => ( () => msg );
But in this case, it's not required, because the alternative doesn't make sense: const secret = (msg => ()) => msg;
^ Unexpected token