https://blog.camel.dev/posts/javascript-vanilla-js-implement-jquery-extend-method/