Up/Down counter

Well,,,sometimes the cost will be loss of readability, @Colin is for sure showing a very compact and brilliant code but it might be difficult to read & understand at first glance. But clever, indeed!!! All my credits

A related question when spending time in making code compact like this, will there be any performance or less memory consumption or other benefits? I mean if you write code in a compiled language, the compiler will anyway optimize your code. But what with javascript in NR? Will node.js optimize anyhow in some way?