From 43725cbb80763ba8ac69a8df5797bb4fe15bce78 Mon Sep 17 00:00:00 2001 From: betbetter Date: Fri, 13 Nov 2026 23:28:50 +0000 Subject: [PATCH] Add twoway.js --- twoway.js | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 twoway.js diff --git a/twoway.js b/twoway.js new file mode 100644 index 0000000..db90b67 --- /dev/null +++ b/twoway.js @@ -0,0 +1,4 @@ +module.exports = (a, b) => { + const s = 1 / a + 1 / b; + return [1 / a / s, 1 / b / s]; +};