this is kind of javascript/browser theoretical question. My colleague and I are trying to write jQuery slideUp method in vanilla JS. The important part of the function body