This particular method can provide you a lot of flexibility when inserting an element due to its four possible positions of insertion: beforebegin, afterbegin, beforeend and afterend.
In this video I take you through a visual example of how exactly this method works – it’s quite straightforward and I hope you can make use of it in your next web project!
Support me on Patreon:
– with enough funding I plan to develop a website of some sort with a new developer experience!
For your reference, check this out:
Follow me on Twitter @dcode!