| Index: lib/typedObjects/stringType.js |
| diff --git a/lib/typedObjects/stringType.js b/lib/typedObjects/stringType.js |
| index 45bbb3e302b8c7da142b54887507c9eca3c3124e..fced048c628dcf076464a13da130d739472c83f1 100644 |
| --- a/lib/typedObjects/stringType.js |
| +++ b/lib/typedObjects/stringType.js |
| @@ -37,7 +37,7 @@ let string = exports.string = uint16.Array({ |
| else if (type == "string" || (value && string.isInstance(value))) |
| { |
| let sourceLength = value.length | 0; |
| - offset = Math.min(sourceLength, offset | 0) |
| + offset = Math.min(sourceLength, offset | 0); |
| length = (typeof length == "number" ? length | 0 : sourceLength); |
| length = Math.min(length, sourceLength - offset); |
| this.length = length; |