Value vs referenceProLesson 7 of 45, about 6 min
- 1
- 2
- 3
- 4
- 5
- 6
The app: Guildhall
GuildhallThe Quill Makers · Edit profile
Saved profile
MMaya OkaforFounder
Making quills by hand since 2019.
Preview of your edit, not saved yet
MMaya OkaforFounder
Making quills by hand since 2019.
The data behind it
edit-profile.js your agent’s code
1let profile = await loadProfile("maya");2let draft = profile;3 4const editBio = (text) => { draft.bio = text; };5const cancel = () => { draft = profile; };6const save = () => { profile = draft; };
Object #1 the only one in memorynamed profile draft
{
"name": ,
"role": ,
"bio":
}
The MagisterThis is Maya’s Edit profile page. The top card shows profile, what she last saved. The preview shows draft, her edit in progress. On the right are your agent’s code and what’s in memory. Tap the bio in memory.
Step 1 of 6Tap Maya’s bio in memory
- Tap
"bio"in memory
You’re not signed in, so this lesson won’t be saved to your path. Sign in free to keep your XP.