diff --git a/lib/common/utils.js b/lib/common/utils.js index 9a8bcee..aa2464e 100644 --- a/lib/common/utils.js +++ b/lib/common/utils.js @@ -186,8 +186,8 @@ function isWhiteSpace(code) { var UNICODE_PUNCT_RE = require('uc.micro/categories/P/regex'); // Currently without astral characters support. -function isPunctChar(char) { - return UNICODE_PUNCT_RE.test(char); +function isPunctChar(ch) { + return UNICODE_PUNCT_RE.test(ch); }