liquidcarrot / carrot

🥕 Evolutionary Neural Networks in JavaScript
https://liquidcarrot.io/carrot/
MIT License
296 stars 34 forks source link

Update from my typescript fork #236

Closed raimannma closed 4 years ago

ghost commented 4 years ago

DeepCode's analysis on #7dec60 found:

Description Example fixes
No catch method for promise. This may result in an unhandled promise rejection. Occurrences: :wrench: Example fixes
Use an arrow function inside forEach() instead of an anonymous function. For anonymous functions the value of 'this' may differ depending on the calling context, which often leads to unexpected errors. On contrary, the value of 'this' used in an arrow function is determined by the scope where the function is defined. Occurrences: :wrench: Example fixes
Use an arrow function inside forEach() instead of an anonymous function. For anonymous functions the value of 'this' may differ depending on the calling context, which often leads to unexpected errors. On contrary, the value of 'this' used in an arrow function is determined by the scope where the function is defined. Occurrences: :wrench: Example fixes

👉 View analysis in DeepCode’s Dashboard | Configure the bot