JavaScript append and prepend vs jQuery append and prepend
问题 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