You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in svelte 4 the compiler output it as is (count++, count--)
but in svelte 5 the output is convert to (count + (n or 1))
therefore it does something different, like this:
let plus = $state("0")
++plus // the output should be (1 as number) but it become (01 as string)
let minus = $state("0")
--minus // the output should be (-1 as number) but it become (0-1 as string)