JSFiddle - React, Tailwind, and code Playground

JavaScript

var storeDate = 'Mon Aug 16 2010 09:21:58 GMT+0100 (BST)';

alert(storeDate + '\n' + JSON.stringify({ 'date': storeDate }));