Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7d4fe1 commit b10b72eCopy full SHA for b10b72e
lib/internal/readline/utils.js
@@ -16,7 +16,7 @@ let isFullWidthCodePoint;
16
17
function CSI(strings, ...args) {
18
let ret = `${kEscape}[`;
19
- for (var n = 0; n < strings.length; n++) {
+ for (let n = 0; n < strings.length; n++) {
20
ret += strings[n];
21
if (n < args.length)
22
ret += args[n];
@@ -79,7 +79,7 @@ if (internalBinding('config').hasIntl) {
79
80
str = stripVTControlCharacters(String(str));
81
82
- for (var i = 0; i < str.length; i++) {
+ for (let i = 0; i < str.length; i++) {
83
const code = str.codePointAt(i);
84
85
if (code >= kUTF16SurrogateThreshold) { // Surrogates.
0 commit comments