If you add the following rule:
example.org#%#//scriptlet('trusted-set-constant', 'test', 'no')
you'll encounter the following error:
trusted-set-constant: TypeError: 'no' value type can't be inferred: SyntaxError: Unexpected token 'o', "no" is not valid JSON
This error forces you to wrap 'no' in additional quotes to make it valid.