ruby-yui-compressor icon indicating copy to clipboard operation
ruby-yui-compressor copied to clipboard

let variable declaration instead of var

Open krisvandermerwe opened this issue 7 years ago • 0 comments

for ( var i = 0, len = sel.options.length; i < len; i++ ) { } compresses successfully

for ( let i = 0, len = sel.options.length; i < len; i++ ) { } Fails

krisvandermerwe avatar Jan 08 '18 05:01 krisvandermerwe