diff --git a/docs/api/net.md b/docs/api/net.md index df26736c256..30792cb2622 100644 --- a/docs/api/net.md +++ b/docs/api/net.md @@ -152,7 +152,7 @@ error on the response object: ```javascript request.on('response', (response) => { - console.log(`STATUS: ${response.statusCode}`); + console.log(`STATUS: ${response.statusCode}`) response.on('error', (error) => { console.log(`ERROR: ${JSON.stringify(error)}`) })