DEV Community

[Comment from a deleted post]
Collapse
 
ytjchan profile image
ytjchan

The x=>x/2 function is a lambda expression, a.k.a. arrow function in case you are wondering. The same feature is also seen in other languages such as Java since Java 8 and C#.