Skip to content

Commit 9d895aa

Browse files
committed
Deploying to gh-pages from @ 0c1e573 🚀
1 parent 5a06402 commit 9d895aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

molecularMass.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function MM(formula) {
4444
let total = null
4545
let numMatch = null
4646

47-
const formula = formula.replace(/\s/g, '');
47+
formula = formula.replace(/\s/g, '');
4848
chemArray.forEach(x => {
4949
if (simpleFormula.test(x)) {
5050
elmass[level] = addMolecules(elmass[level], chemEval(x), 1)

0 commit comments

Comments
 (0)