I was disappointed to learn javascript does not support tail recursion. Kind of makes it a 2nd class functional language.