Skip to content

Commit

Permalink
g != h (josdejong#1897)
Browse files Browse the repository at this point in the history
ik it's small but I was reading and it was kind of annoying
  • Loading branch information
Groovin-Dev authored Jun 27, 2020
1 parent 9e4967a commit 98ce1fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/expressions.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ console.log('x =', x) // x = 3.5
const f2 = parser.get('f2')
console.log('f2 =', math.format(f2)) // f2 = f2(x, y)
const h = f2(3, 3)
console.log('h =', h) // g = 27
console.log('h =', h) // h = 27

parser.set('i', 500)
print(parser.evaluate('i / 2')) // 250
Expand Down

0 comments on commit 98ce1fe

Please sign in to comment.