Apply Javascript styleguide
This commit is contained in:
parent
752ce964c8
commit
6e0f351093
30 changed files with 364 additions and 375 deletions
|
@ -2,8 +2,8 @@ import fs from 'fs';
|
|||
import path from 'path';
|
||||
|
||||
function range(start, stop) {
|
||||
var result = [];
|
||||
for (var idx = start.charCodeAt(0), end = stop.charCodeAt(0); idx <= end; ++idx){
|
||||
const result = [];
|
||||
for (let idx = start.charCodeAt(0), end = stop.charCodeAt(0); idx <= end; ++idx) {
|
||||
result.push(String.fromCharCode(idx));
|
||||
}
|
||||
return result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue