mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-28 13:13:37 +08:00
Signed-off-by: Victor Porof <victorporof@chromium.org> Bug: 1325812 Change-Id: I044170880d20ce0402062755787cccafd63c6a42 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3695370 Reviewed-by: Mathias Bynens <mathias@chromium.org>
11 lines
251 B
JavaScript
11 lines
251 B
JavaScript
export class ArrayBase extends Array {
|
|
constructor({ source, tokens }) {
|
|
super();
|
|
Object.defineProperties(this, {
|
|
source: { value: source },
|
|
tokens: { value: tokens },
|
|
parent: { value: null, writable: true },
|
|
});
|
|
}
|
|
}
|