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

Refactor typeChecker function for conciseness and modern syntax #556

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Oct 31, 2024

  1. Refactor firstchar function for conciseness and modern syntax

    - Replaced var with const for improved variable management
    - Used optional chaining for a more concise return statement
    - Enhanced readability while preserving functionality
    Ayoub-Mabrouk committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    aec6065 View commit details
    Browse the repository at this point in the history
  2. Refactor typeChecker function for conciseness and modern syntax

    - Replaced traditional function declaration with an arrow function for brevity
    - Utilized implicit return to streamline the code
    - Enhanced readability while maintaining functionality
    Ayoub-Mabrouk committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    a6f2940 View commit details
    Browse the repository at this point in the history