next.js/test/integration/edge-runtime-dynamic-code/lib/utils.js
utils.js14 lines281 B
export async function usingEval() {
  // eslint-disable-next-line no-eval
  return { value: eval('100') }
}

export async function notUsingEval() {
  return { value: 100 }
}

export function usingEvalSync() {
  // eslint-disable-next-line no-eval
  return { value: eval('100') }
}
Quest for Codev2.0.0
/
SIGN IN