Arrow functions make it possible to write single-line functions with no curly brackets.

let print = msg => console.log(msg);
print("Hello world"); // outputs "Hello world"

The fact that JavaScript now has this syntax makes being a JavaScript developer a real power trip. If you study C and Java in college, this doesn’t look anything like that. If it wasn’t already, JavaScript is now one of those languages that to the uninitiated is something “those weird people” mess with. I guess I’m one of those now.

The thing is, if you look at the emerging landscape, it’s filled with Ruby and Swift and ES6. We’re moving away from stuff that looks like straightforward derivatives of C.