Skip to content

Commit 0f7652a

Browse files
rootroot
authored andcommitted
some fixes
1 parent fc58a75 commit 0f7652a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BrainCacl.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { TheMotor } from "../index.js";
2-
import { getRandomNum } from "./brainEven.js";
2+
import { getRandomNum } from "src/brainEven.js";
33
const alert = 'What is the result of the expression?';
44
const operations = ()=>{
55
const maxVal = 30;
@@ -10,7 +10,7 @@ const operations = ()=>{
1010
const minIndex = 0;
1111
const MaxIndex = ops.length-1;
1212
const randomOp = ops[getRandomNum(minIndex, MaxIndex)];
13-
return `${firstNum}${randomOp}${secondNum}`
13+
return `${firstNum} ${randomOp} ${secondNum}`
1414
}
1515
const StartValueOPS = (exs)=>{
1616
const convert = exs.split(' ');

0 commit comments

Comments
 (0)