5 ms·
I don't think you are thinking of E4X -- it allowed one to convert XML strings into native objects, but I don't believe that it allowed for direct XML literals
by johnhenry 10y ago
I don't think you are thinking of E4X -- it allowed one to convert XML strings into native objects, but I don't believe that it allowed for direct XML literals in Javascript as does JSX?
- woogley 10y agoIt did, as an alternative to XML('string') constructor. Check it out: https://developer.mozilla.org/en-US/docs/Archive/Web/E4X/Processing_XML_with_E4X#Creating_an_XML_object https://developer.mozilla.org/en-US/docs/Archive/Web/E4X/Pro...
- tbranyen 10y agoThat is pretty mind blowing. Not such a revolutionary idea in the JS space after all.
- deleted 10y ago[deleted]