text: 'use strict';
  goog.provide('Blockly.JavaScript.event');
  goog.require('Blockly.JavaScript');
  
  Blockly.JavaScript['event_whenflagclicked'] = function (block) {
      let code = '(async function greenFlag() {\n';
      code += '\ttry {'
      return code;
  }
  