News for hackers. Stuff that matters.
Re:GitHub Copilot’s Code Brushes by Nullabillity on Saturday January 14, 2023 @08:17PM (#34385796)
I did notice it but wanted to keep the AST identical. But yes, it would have been worth pointing out, heh.
Re:GitHub Copilot’s Code Brushes by garaboncias2 on Sunday January 15, 2023 @05:20PM (#34394227)
Actually it is not redundant as >= do numerical comparsion (so convert a and b to number) while == do not do that. So it has different result on objects.
Re:GitHub Copilot’s Code Brushes by drittich on Monday January 16, 2023 @08:15AM (#34400267)
You learn something new every day! I have written JavaScript off and on for years and did not encounter that.