We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc58a75 commit 0f7652aCopy full SHA for 0f7652a
src/BrainCacl.js
@@ -1,5 +1,5 @@
1
import { TheMotor } from "../index.js";
2
-import { getRandomNum } from "./brainEven.js";
+import { getRandomNum } from "src/brainEven.js";
3
const alert = 'What is the result of the expression?';
4
const operations = ()=>{
5
const maxVal = 30;
@@ -10,7 +10,7 @@ const operations = ()=>{
10
const minIndex = 0;
11
const MaxIndex = ops.length-1;
12
const randomOp = ops[getRandomNum(minIndex, MaxIndex)];
13
- return `${firstNum}${randomOp}${secondNum}`
+ return `${firstNum} ${randomOp} ${secondNum}`
14
}
15
const StartValueOPS = (exs)=>{
16
const convert = exs.split(' ');
0 commit comments