Hi! I just made some changes to improve code syntax and formatting.
First changes:
Replacing != with !==
Replacing == with ===
To strictly check both value and type. This is generally a good practice if you want to ensure strict equality.
Second changes:
Removing an unused event parameter
Last changes:
Running alt + shift + f for better code formatting. Formatting the code consistently improves readability and makes it easier for others to understand.
Hi! I just made some changes to improve code syntax and formatting.
First changes:
Replacing != with !== Replacing == with ===
To strictly check both value and type. This is generally a good practice if you want to ensure strict equality.
Second changes: Removing an unused event parameter
Last changes: Running alt + shift + f for better code formatting. Formatting the code consistently improves readability and makes it easier for others to understand.