length
This commit is contained in:
@@ -50,7 +50,6 @@ def libraries = [
|
||||
decode: json.decode,
|
||||
// json produces a JS string. We'll measure its UTF-16 code unit length
|
||||
// as a rough "size". Alternatively, you could convert to UTF-8 for
|
||||
// a more accurate byte size. Here we just use `string.length`.
|
||||
getSize(encodedStr) {
|
||||
return length(encodedStr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user