let current_component = { $$: { on_mount: [] }};
function get_current_component(){
return current_component;
}
function onMount1(arg1){
get_current_component().$$.on_mount.push(arg1);
}
function onMount2(...args){
get_current_component().$$.on_mount.push(...args);
}
const fn1 = function(){ return 3; }
const fn2 = function(){ return 2; }onMount1(fn1);onMount2(fn1);onMount1(fn1);
onMount1(fn2);
onMount2(fn1, fn2);current_component.$$.on_mount.length = 0;