bruno/packages/bruno-tests/collection/lib/math.js
Anoop M D 753a576c3c
Feat/safe mode quickjs (#2848)
Safe Mode Sandbox using QuickJS
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
Co-authored-by: lohit <lohit.jiddimani@gmail.com>
2024-08-21 12:52:49 +05:30

10 lines
169 B
JavaScript

const { PI } = require('./constants');
const sum = (a, b) => a + b;
const areaOfCircle = (radius) => PI * radius * radius;
module.exports = {
sum,
areaOfCircle
};