Closed Happypig375 closed 4 years ago
nerdamer('sqrt 2', ['numer']) -> sqrt(2)
nerdamer('sqrt 2', ['numer'])
sqrt(2)
The second parameter is the knowns/substitutions object. You have to pass it an empty object as the second parameter. nerdamer('sqrt 2', {}, ['numer']).
nerdamer('sqrt 2', {}, ['numer'])
Oops lol ok
nerdamer('sqrt 2', ['numer'])
->sqrt(2)