--- id: 5d6542826e6bf7a6a27aa80d title: Part 17 challengeType: 0 --- ## Description
For now, make the `goStore` function output the message "Going to store." to the web console. For example, here is a function that outputs the message "Hello World" to the web console (Note that code inside a function should be indented): ```js function functionName() { console.log("Hello World"); } ```
## Instructions
## Tests
```yml tests: - text: See description above for instructions. # testString: assert(code.match(/function goStore\s*\(\s*\)\s*\{\s*console\.log\(\s*[\"\'\`]Going to store\.?[\"\'\`]\s*\)\;?\s*\}/)); testString: assert(goStore.toString().match(/console\.log\(\s*[\"\'\`]Going to store\.?[\"\'\`]\s*\)/)); ```
## Challenge Seed
```html ```
### Before Test
```html RPG - Dragon Repeller
XP: 0 Health: 100 Gold: 50
Monster Name: Health:
Welcome to Dragon Repeller. You must defeat the dragon that is preventing people from leaving the town. You are in the town square. Where do you want to go? Use the buttons above.
```
### After Test
```html ```
## Solution
```html ```