Search engines (generally speaking) can't read javascript and given how hard it is for humans we shouldn't expect them to start doing so anytime soon.
So... no, a javascript feed won't serve any seo purpose.
Xml can be tricky but if it's RSS there are some really good free tools available such as Magpie and SimplePie [
more]