code: function() {
      this.jsonInit({
        "message0": Blockly.Msg.CONTROLS_REPEAT_TITLE,
        "args0": [
          {
            "type": "input_value",
            "name": "TIMES",
            "check": "Number"
          }
        ],
        "previousStatement": null,
        "nextStatement": null,
        "colour": Blockly.Blocks.loops.HUE,
        "tooltip": Blockly.Msg.CONTROLS_REPEAT_TOOLTIP,
        "helpUrl": Blockly.Msg.CONTROLS_REPEAT_HELPURL
      });
      this.appendStatementInput('DO')
          .appendField(Blockly.Msg.CONTROLS_REPEAT_INPUT_DO);
    }
docs: Block for repeat n times (external number).
  @this Blockly.Block