Skip to content

Commit

Permalink
buffer: fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
jizusun committed Nov 3, 2019
1 parent 3a7c798 commit 0a1d464
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions lib/buffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,19 @@

'use strict';

const { Object: { defineProperties, defineProperty, setPrototypeOf, create } } = primordials;
const { Math: { floor, trunc, min } } = primordials;
const {
Object: {
defineProperties,
defineProperty,
setPrototypeOf,
create
},
Math: {
floor,
trunc,
min
}
} = primordials;

const {
byteLengthUtf8,
Expand Down

0 comments on commit 0a1d464

Please sign in to comment.