virt2/assets/vendor_components/popper/packages/test-utils/utils/prepend.js

4 lines
98 B
JavaScript
Raw Normal View History

export default function prepend(node, parent) {
parent.insertBefore(node, parent.firstChild);
}