Skip to content
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

ECMAScript 12 supported code for Syntax Editor Macros #168

Merged
merged 12 commits into from
Oct 31, 2024

Conversation

dvn-lazywinner
Copy link
Contributor

This pull request includes updates to Syntax Editor Macros, refactored using ECMAScript 12 to support modern JavaScript functionality and improved code clarity. Key updates include:

Modern ECMAScript Syntax: Updated macros to leverage ECMAScript 12 features like optional chaining (?.), nullish coalescing (??), and logical assignment operators, resulting in more readable and efficient code.
Improved Maintainability: Replaced legacy JavaScript patterns with modern syntax, reducing code complexity and enhancing maintainability.
Compatibility and Consistency: Ensured macros are consistent with ECMAScript 12 standards, aligning with best practices for more reliable cross-environment support.
Testing & Validation

Additional Notes
This update helps future-proof the macros, supporting ongoing improvements and compatibility with modern JavaScript standards.

@SapphicFire SapphicFire self-assigned this Oct 31, 2024
Copy link

@SapphicFire SapphicFire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@SapphicFire SapphicFire merged commit b50896b into ServiceNowDevProgram:main Oct 31, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants