Skip to content

Commit 89e9c8f

Browse files
committed
Refactor comment-style
1 parent d49222f commit 89e9c8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module.exports = nlcstToString
44

5-
/* Stringify a NLCST node or list of nodes. */
5+
// Stringify one nlcst node or list of nodes.
66
function nlcstToString(node, separator) {
77
var sep = separator || ''
88
var values
@@ -20,7 +20,7 @@ function nlcstToString(node, separator) {
2020
children = 'length' in node ? node : node.children
2121
length = children.length
2222

23-
/* Shortcut: This is pretty common, and a small performance win. */
23+
// Shortcut: This is pretty common, and a small performance win.
2424
if (length === 1 && 'value' in children[0]) {
2525
return children[0].value
2626
}

0 commit comments

Comments
 (0)