3 ms·
Outputting JS as templates or printed text was pretty common before every language added a handy toJson method though.
by flomo 10y ago
Outputting JS as templates or printed text was pretty common before every language added a handy toJson method though.
- nrser 10y agoyeah, I guess I sorta missed that... I mean the 'X' in AJAX was for XML... I've def been guilty of outputting "XML" with php tags. by the time we got to JSON there were libs available, or maybe we just wrote our own.