Re:JavaScript from 2001 on India's largest private bank site
by jfrunyon on Tuesday March 16, 2021 @11:15AM
(#26477840)
> Using code or data structure to generate code is recent (or resurrection ) phenomenon of function programming.
I'm not entirely sure how you came to that conclusion. Lookup tables and format strings have been around for... well, I'd guess almost a century.
The function is formatted and it does what it suppose to do. It can be refactored to make it less code.