Skip to content

Conversation

@pearmini
Copy link
Collaborator

/**
 * ============================================================================
 * =                                Addition                                  =
 * ============================================================================
 *
 * This example shows Recho's core feature: inline echoing. You can `echo` a 
 * value directly at the point of definition or anywhere in your code.
 */

const a = 1;

//➜ 2
const b = echo(a + 1);

const c = a + b;

//➜ 3
echo(c);

@pearmini pearmini merged commit 79fc513 into main Sep 26, 2025
1 check passed
@pearmini pearmini deleted the addition branch September 26, 2025 12:23
@pearmini pearmini changed the title Add example addition [Example] Addition Sep 26, 2025
@pearmini pearmini added the Example Add a new example label Sep 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Example Add a new example

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant