1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-07 06:46:59 -05:00

Modify the test of .mts and .cts

This commit is contained in:
MohammadSu1 2024-11-08 20:14:59 +02:00
parent ca469ae97b
commit 09c3cae9bf
2 changed files with 5 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{
"args": "run --allow-read main.mts",
"args": "run --unstable --allow-read main.mts",
"output": "3"
}

View file

@ -1,4 +1,7 @@
export function add(num1, num2) {
function add(num1, num2) {
const result = num1 + num2;
console.log(result);
return result;
}
module.exports = { add };