Handlebars:
Template
{{log 'firstname' firstname 'lastname' lastname}}
Preparation-Script
// Handlebars.registerHelper('loud', function(string) {
//    return string.toUpperCase()
// });
Input
{
  firstname: "Yehuda",
  lastname: "Katz",
}
Output

Press F12 and open the dev-console to see the log output.

Last Updated: 11/2/2019, 8:12:45 AM