JSFiddle - React, Tailwind, and code Playground

by pdavis68

HTML

<input type="button" onclick="testFunc()" name="ok" value="Click Me"  />

JavaScript

function testFunc() {
  buckets = {};
  buckets.'12358' = {'test1':1, 'test2':2};
  alert 'hello';
  if (!buckets.hasOwnProperty(12358)) {
    alert 'test';
  }
}