From 9df93e17ed2281e8bb41c84e74004313ce58a527 Mon Sep 17 00:00:00 2001 From: dennissm77 <307839956+dennissm77@users.noreply.github.com> Date: Wed, 22 Jul 2026 12:55:06 +0900 Subject: [PATCH] docs: fix typos in JSDoc comments - Remove duplicated word "name" in application.js render() comment - Fix stray ".;" typo in response.js location() example --- lib/application.js | 2 +- lib/response.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/application.js b/lib/application.js index 310e6dfef21..7da1d9874ac 100644 --- a/lib/application.js +++ b/lib/application.js @@ -503,7 +503,7 @@ app.all = function all(path) { }; /** - * Render the given view `name` name with `options` + * Render the given view `name` with `options` * and a callback accepting an error and the * rendered template string. * diff --git a/lib/response.js b/lib/response.js index b4755a5c060..f60025d570a 100644 --- a/lib/response.js +++ b/lib/response.js @@ -785,7 +785,7 @@ res.cookie = function (name, value, options) { * * Examples: * - * res.location('/foo/bar').; + * res.location('/foo/bar'); * res.location('http://example.com'); * res.location('../login'); *