code: function() {
      this.jsonInit({
        "message0": Blockly.Msg.LISTS_REPEAT_TITLE,
        "args0": [
          {
            "type": "input_value",
            "name": "ITEM"
          },
          {
            "type": "input_value",
            "name": "NUM",
            "check": "Number"
          }
        ],
        "output": "Array",
        "colour": Blockly.Blocks.lists.HUE,
        "tooltip": Blockly.Msg.LISTS_REPEAT_TOOLTIP,
        "helpUrl": Blockly.Msg.LISTS_REPEAT_HELPURL
      });
    }
docs: Block for creating a list with one element repeated.
  @this Blockly.Block