JSFiddle - React, Tailwind, and code Playground

by mowglisanu

JavaScript

var xhr=new XMLHttpRequest();
xhr.open('GET','http://fiddle.jshell.net/css/result-light.css',true);

xhr.onreadystatechange=function(e)
{
    if(this.readyState===4)
    {
        console.log('getResponseHeader(): '+xhr.getResponseHeader('Last-Modified'));
        console.log('getAllResponseHeaders(): '+xhr.getAllResponseHeaders());
    }
};

xhr.send();