JavaScript append and prepend vs jQuery append and prepend

Viewed 6024

QA Style

I recently read an article and it says that JavaScript has implemented append and prepend methods inspired from jQuery.

It was a new knowledge for me because as far as I know to append an element, I had to use element.appendChild and to prepend an element, I had to use element.insertBefore(newElement,element.children[0]).

But jQuery's append and prepend have lots of features like accepting multiple arguments.

So my question is

What are all the differences between JavaScript's append prepend and jQuery's append prepend have (in ease of use and in performance)

Not a dupe of Append Vs AppendChild JQuery

1 Answers
Related