-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Is there any chance to support === for subscript? Or it works like this by design?
import subscript from 'subscript';
const answers = ['a'];
console.log(subscript('answers.length === 1 && answers[0] === "a"')({answers})); // throws error
but if I import justin, there are no problem
import subscript from 'subscript';
import justin from 'subscript/justin';
const answers = ['a'];
console.log(subscript('answers.length === 1 && answers[0] === "a"')({answers})); // true
Metadata
Metadata
Assignees
Labels
No labels