JSFiddle - React, Tailwind, and code Playground

HTML

<button class="btn_default" type="button">기본</button><br>
<button class="btn_data" type="button">데이터삽입</button>

JavaScript

var hello = 'hello';

$('.btn_default').bind('click', function(event){
  console.log(event.data);
});

$('.btn_data').bind('click', {msg: hello}, function(event){
  console.log(event.data);
});