JSFiddle - React, Tailwind, and code Playground

JavaScript

$.ajax({
    url: "/nowhere",
    statusCode: {
        404: function (jqxhr) {
            console.log(this.url);       
        }
    }        
});