summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/DataView.h
AgeCommit message (Collapse)Author
2021-06-20LibJS: Consistently make prototype the last argument in Object ctorsLinus Groh
This is so that we can reliably allocate them in a template function, e.g. in ordinary_create_from_constructor(): global_object.heap().allocate<T>( global_object, forward<Args>(args)..., *prototype); The majority of objects already take the prototype as the last argument, so I updated the ones that didn't.
2021-06-14LibJS: Add the DataView built-in objectIdan Horowitz