Skip to content

Conversation

@Akiyamka
Copy link

@Akiyamka Akiyamka commented Nov 8, 2024

Summary

Unnecessary code removed.

  • No need to declare the 'self' variable - we already have 'this' for this purpose
  • No need to declare a constructor - JavaScript will call super automatically if no constructor is declared
  • No need to convert the node list to an array - we have 'for' loops that can iterate over node lists directly
Unnecessary code removed. No need to declare the 'self' variable - we already have 'this' for this purpose No need to declare a constructor - JavaScript will call super automatically if no constructor is declared No need to convert the node list to an array - we have 'for' loops that can iterate over node lists directly
@bsmth
Copy link
Member

bsmth commented Mar 28, 2025

Thanks for the submission! @wbamberg you touched these last, do you want to have a quick look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants