diff --git a/apps/javascript-calculator/client/index.jsx b/apps/javascript-calculator/client/index.jsx index 8a5649fe..3fba1ee3 100644 --- a/apps/javascript-calculator/client/index.jsx +++ b/apps/javascript-calculator/client/index.jsx @@ -66,7 +66,7 @@ class Calculator extends React.Component { currentVal: answer.toString(), formula: expression - .replace(/\*/g, '⋅') + .replace(/\*/g, 'x')// changed * to x .replace(/-/g, '-') .replace(/(x|\/|\+)-/, '$1-') .replace(/^-/, '-') +