1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-17 09:15:06 +00:00
Commit graph

1 commit

Author SHA1 Message Date
Andreas Kling
627fd6374b LibJS: Add Uint8ClampedArray :^)
This is a special kind of byte array that clamps its values to 0...255
It will be used for HTML ImageData objects.

I made Object::put_by_index() and get_by_index() virtual for this.
We'll probably need to make non-numeric property name lookups virtual
as well, but this solves my current problem well enough.
2020-04-21 23:47:39 +02:00