
Quick Tips
Return a Number in Words Using JavaScript (Array Lookup vs switch)
TL;DR: n => ["Zero","One","Two","Three","Four","Five","Six","Seven","Eight","Nine"][n] turns a number 0-9 into its spelled-out word by using the numbe...
Quick tips and tricks.
3 posts