What does this program print for a successful deletion?

from HTTP API design
Node 24 beginner 2 min

What does this program print for a successful deletion?

JavaScript
function deleteOrder(exists) {
  if (!exists) return { status: 404, body: { title: "Not Found" } };
  return { status: 204, body: null };
}

const response = deleteOrder(true);
console.log(response.status, response.body);
Open in playground
Report an error