```hbs {{!-- works in standalone hbs --}} <div class="it {{works}}" /> ``` ```gts {{!-- does not work in gjs, calls Function.prototype.toString instead --}} function works() { return "works"; } <template> <div class="it {{works}}" /> </template> ``` Strict mode RFC only intended the change for arguments, not attributes: https://github.com/emberjs/rfcs/blob/508ac9b95bf2a4b397bf72b8e51d981c14c42535/text/0496-handlebars-strict-mode.md#3-no-implicit-invocation-of-argument-less-helpers
{{!-- does not work in gjs, calls Function.prototype.toString instead --}} function works() { return "works"; } <template> <div class="it {{works}}" /> </template>Strict mode RFC only intended the change for arguments, not attributes: https://github.com/emberjs/rfcs/blob/508ac9b95bf2a4b397bf72b8e51d981c14c42535/text/0496-handlebars-strict-mode.md#3-no-implicit-invocation-of-argument-less-helpers