Skip to content

Commit

Permalink
Get rid of es6 features
Browse files Browse the repository at this point in the history
  • Loading branch information
xafizoff authored Oct 26, 2019
1 parent 0b88332 commit f9fc8a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion priv/bert.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function en_116(o) {
return o.v.length == 0 ? x : [x,r];
}
function en_110(o) {
var s=int_to_bytes(o.v); return [110,s.length,(o.v<0)?1:0,...s];
var s=int_to_bytes(o.v); return [110,s.length,(o.v<0)?1:0].concat(s);
}

// DECODER
Expand Down

0 comments on commit f9fc8a5

Please sign in to comment.