511 var methods = [];
512
513 for (var methodName in proto) {
514 var m = proto[methodName]; 515
516 if (typeof m !== 'function') {
517 continue;
284 return makeRequire(name);
285 },
286 exports: function (name) {
287 var e = defined[name]; 288 if (typeof e !== 'undefined') {
289 return e;
290 } else {
511 var methods = [];
512
513 for (var methodName in proto) {
514 var m = proto[methodName]; 515
516 if (typeof m !== 'function') {
517 continue;
284 return makeRequire(name);
285 },
286 exports: function (name) {
287 var e = defined[name]; 288 if (typeof e !== 'undefined') {
289 return e;
290 } else {
144 var m = d.getMinutes();
145 m = (m < 10) ? ("0" + m) : m;
146
147 var s = d.getSeconds();148 s = (s < 10) ? ("0" + s) : s;
149
150 datetext = datetext + " " + h + ":" + m + ":" + s;
Single character variable names affect code readability and complicate code refactoring, because of the difficulty in searching and replacing single characters.
This issue will not be raised for certain special identifiers, such as i
, j
or n
. It will also not be reported for the parameters used in for
and while
loops.
var a;
const l = 90
var age;
const limit = 90;
for(let o = 2; o < 10; o++){
sum += o
}