JQuery 1.9 $(array).appendTo(selector) not working anymore?

JQuery 1.9 $(array).appendTo(selector) not working anymore?

<ul id="test"></ul> var array = ['<li> abc </li>', '<li> def </li>']; $(array).appendTo('#test')


I used to be able to do this in previous version of JQuery. (1.8.3 and older)
Did something changed that I missed or is this an issue?

Uncaught TypeError: Cannot read property 'ownerDocument' of undefined

You can test it on jsfiddle and see for yourself that it works on older version.

Thank you for your time.