Open this example in the interactive library
Source code
import { Blob } from "node:buffer";
console.log(new Response(null, { status: 204 }).ok);
Sample output
true

Open this example in the interactive library
import { Blob } from "node:buffer";
console.log(new Response(null, { status: 204 }).ok);
true