Skip to content
File

Blob: src/workerd/server/tests/unsafe-eval/module.js

javascript10 lines
1// Copyright (c) 2023 Cloudflare, Inc.
2// Licensed under the Apache 2.0 license found in the LICENSE file or at:
3// https://opensource.org/licenses/Apache-2.0
4 
5import { default as UnsafeEval } from 'internal:unsafe-eval';
6 
7export function doEval() {
8 return UnsafeEval.eval('1 + 1');
9}