From 6dc7885c8ed1d897f5aa08df73bf6d0aaa3368a9 Mon Sep 17 00:00:00 2001 From: Bhumit Patel <97089390+patel-bhumit@users.noreply.github.com> Date: Sat, 3 Feb 2024 02:51:14 -0500 Subject: [PATCH] fix(curriculum): Updated code example for RPG game explanation on variables (#53519) --- .../62a3a488b24fb32b91155d56.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a3a488b24fb32b91155d56.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a3a488b24fb32b91155d56.md index 391d5b270f3..fdaf7b63f09 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a3a488b24fb32b91155d56.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a3a488b24fb32b91155d56.md @@ -10,10 +10,10 @@ dashedName: step-7 Variables can be assigned a value. When you do this while you declare it, this is called initialization. For example: ```js -let camperbot = "Bot"; +let age = 32; ``` -This would initialize the `camperbot` variable with a value of `Bot`, a string. +This would initialize the `age` variable with a value of `32`, a number. Initialize your `xp` variable to have a value of `0`, a number.