Add toString
.
This commit is contained in:
parent
e1b638bef7
commit
f07e849662
3 changed files with 12 additions and 1 deletions
|
@ -239,7 +239,9 @@ const Channel = function(bufferLength = 0) {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
toString: () => `Channel(${bufferLength})`
|
||||
});
|
||||
|
||||
Object.defineProperty(readOnly, `value`, { get: () => lastValue });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue