summaryrefslogtreecommitdiff
path: root/src/pkg/html/template/js.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/html/template/js.go')
-rw-r--r--src/pkg/html/template/js.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/html/template/js.go b/src/pkg/html/template/js.go
index a9740931f..d594e0ad7 100644
--- a/src/pkg/html/template/js.go
+++ b/src/pkg/html/template/js.go
@@ -341,7 +341,7 @@ var jsRegexpReplacementTable = []string{
'}': `\}`,
}
-// isJSIdentPart returns whether the given rune is a JS identifier part.
+// isJSIdentPart reports whether the given rune is a JS identifier part.
// It does not handle all the non-Latin letters, joiners, and combining marks,
// but it does handle every codepoint that can occur in a numeric literal or
// a keyword.