13 lines
256 B
JavaScript
13 lines
256 B
JavaScript
function Component(props) {
|
|
const a = [props.a, props.b, 'hello'];
|
|
const x = a.length;
|
|
const y = a.push;
|
|
return {a, x, y, z: a.concat};
|
|
}
|
|
|
|
export const FIXTURE_ENTRYPOINT = {
|
|
fn: Component,
|
|
params: [{a: [1, 2], b: 2}],
|
|
isComponent: false,
|
|
};
|