i want to write a function that prints multi-dimensional objects which are text (or integers, etc.) into <span></span>
tags and arrays into unordered lists.
how do you make the function work recursively so that it prints everything regardless of what level it's at in the object?
thanks!