|
1
|
function Component(props) { |
|
2
|
// destructure slot index has a hole in the input, should return default |
|
3
|
const [x = 42] = props.value; |
|
4
|
return x; |
|
5
|
} |
|
6
|
|
|
7
|
export const FIXTURE_ENTRYPOINT = { |
|
8
|
fn: Component, |
|
9
|
params: [{value: [, /* hole! */ 3.14]}], |
|
10
|
}; |