mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:27:35 +00:00
LibJS: Add spec comment for [[ArrayBufferData]]
I have found myself needing to grep around for this one a bunch.
This commit is contained in:
parent
78d5c23c3a
commit
fe479ffd66
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,8 @@ public:
|
|||
virtual ~ArrayBuffer() override = default;
|
||||
|
||||
size_t byte_length() const { return buffer_impl().size(); }
|
||||
|
||||
// [[ArrayBufferData]]
|
||||
ByteBuffer& buffer() { return buffer_impl(); }
|
||||
ByteBuffer const& buffer() const { return buffer_impl(); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue