CodeNewbie Community 🌱

Discussion on: Examples for reversing a string in JavaScript, Python and Dart

Collapse
 
jordanaf808 profile image
jordanaf808

are there benefits to using one of these methods over the other?

Collapse
 
andrewbaisden profile image
Andrew Baisden

Some of them have less lines of code which could lead to a slightly smaller file size and performance boost. The biggest takeaway here would be showing that you understand the programming language well as you can perform the same function using different methods.