-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Steps to reproduce
The typeof operator in jintr does not seem to work like it does in node / browser:
import { Jinter } from 'jintr';
const jinter = new Jinter();
jinter.evaluate('console.log(typeof none_existent_identifier)');
// => stringWith node and in Firefox console I get:
> typeof none_existent_identifier
'undefined'Failure Logs
stringExpected behavior
typeof non_existent_identifier returns 'undefined'
Current behavior
typeof non_existent_identifier returns 'string'
Version
Edge
Anything else?
No response
Checklist
- I am running the latest version.
- I checked the documentation and found no answer.
- I have searched the existing issues and made sure this is not a duplicate.
- I have provided sufficient information.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working