JSFiddle - React, Tailwind, and code Playground
JavaScript
$.getJSON("/echo/json/").pipe(function(json) {
// do something
// ...
return null;
// or no return statement
}).done(function(result) {
// this is never reached
console.log(result);
});