JSFiddle - React, Tailwind, and code Playground

by mbahl

HTML

<div>
  <div id="output" />
</div>

JavaScript

let userData = {
	username: "Bob",
  mail: "[email protected]"
}

//let foo = () => userData['username'] = 'Bobine';
let foo = userData.prototype.username= 'Bobine';

const value = new Date("2018-06-15T10:08:12.823Z");
document.getElementById("output").innerHTML = "foo;";