import * as $ from "svelte/internal/server";

export default function Function_prop_no_getter($$payload) {
	let count = 0;

	function onmouseup() {
		count += 2;
	}

	const plusOne = (num) => num + 1;

	Button($$payload, {
		onmousedown: () => count += 1,
		onmouseup,
		onmouseenter: () => count = plusOne(count),
		children: ($$payload) => {
			$$payload.out += `<!---->clicks: ${$.escape(count)}`;
		},
		$$slots: { default: true }
	});
}