DEV Community

Discussion on: `at` coming soon to ECMAScript

Collapse
 
dewaldels profile image
Dewald Els

Break the internet! haha love it! Sometimes they need to take control and make the tough decisions for the betterment of the web.

Correct me if I am wrong, but if the official name is called .last(), the code above would simply overwrite it and not cause anything to break? However, if a library also creates a similar .last function, depending on the order of code execution, it could cause some unexpected results.