JSFiddle - React, Tailwind, and code Playground

JavaScript

var x = new Date('1000').getFullYear();
alert(x)