content icon indicating copy to clipboard operation
content copied to clipboard

fix: add a missing word in getBytesInUse

Open eugenesvk opened this issue 3 years ago • 1 comments

Summary

getBytesInUse function was missing a word in a description of its parameters, wrongly implying that passing any array would return a 0 value while in reality only passing an empty array return a 0 value, not any array

Motivation

Avoids confusing the readers on how to use this API

Supporting details

Chrome API description correctly states that

An empty list will return 0.

Related issues

None

Metadata

  • [ ] Adds a new document
  • [ ] Rewrites (or significantly expands) a document
  • [x] Fixes a typo, bug, or other error

eugenesvk avatar Aug 09 '22 16:08 eugenesvk