Yes, it's right. const, as you defined it, will always generate 1 when evaluating it - regardless of the argument. And since the argument is not related to the result, it is not evaluated. Thus, any error or non-interruption that may be caused by the evaluation of the argument will not occur.
source
share