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
{{ message }}
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.
// What the user types
$: if(test>10&&color.get()!==color.get_last()){color.set('color: green');}// What the compiler outputs to JStest.subscribe((new_val,old_val)=>{if(new_val>10&&color.get()!==color.get_last()){color.set('color: green');}})
Declarations
// What the user types
$: is_greater_than=test>30;// What the compiler outputs to JSletis_greater_than=variable(test>30);test.subscribe((new_val,old_val)=>{is_greater_than.set(test>30);})
The text was updated successfully, but these errors were encountered:
Statements (conditionals)
Declarations
The text was updated successfully, but these errors were encountered: