-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add custom string index support #454
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use intermediate variables to name logical expression parts. To optimize calculating ecpression parts use return-early pattern.
- Added custom string index support - Optimized calculating logical expressions with return-early pattern - Fixed: return value only checked if the index was an array
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can easily move this outside of class
Bracket balance validation used in metarhia/metaschema/#454 Add bracket balance validation Bracket balance validation used in metarhia/metaschema#454
Bracket balance validation used in metarhia/metaschema#454
String index check moved to util.js
npm t
)npm run fmt
)