Print/Log Debugging — Debugging, Explained
← all concepts
The Missing Manual
04
Print/Log Debugging
{{ stepCounter }}
{{ caption }}
>
{{ command }}
function processOrder(data) {
console.log("before:", data)
const result = riskyTransform(data);
console.log("after:", result)
}
{{ outputText }}
← Back
{{ nextLabel }}