Files
2026-08-27 21:09:14 +00:00

441 B

Input

function Component(props) {
  let x = props.default;
  try {
  } catch (e) {
    x = e;
  }
  return x;
}

export const FIXTURE_ENTRYPOINT = {
  fn: Component,
  params: [{default: 42}],
};

Code

function Component(props) {
  const x = props.default;

  return x;
}

export const FIXTURE_ENTRYPOINT = {
  fn: Component,
  params: [{ default: 42 }],
};

Eval output

(kind: ok) 42