Add twoway.js

This commit is contained in:
2026-11-13 23:28:50 +00:00
parent 1204a0633a
commit 43725cbb80
+4
View File
@@ -0,0 +1,4 @@
module.exports = (a, b) => {
const s = 1 / a + 1 / b;
return [1 / a / s, 1 / b / s];
};