# Learn basic javascript by building a role playing game step 99 create a new empty sellWeapon function

**URL:** <https://forum.freecodecamp.org/t/learn-basic-javascript-by-building-a-role-playing-game-step-99-create-a-new-empty-sellweapon-function/681817>\
**Category:** Curriculum Help\
**Tags:** javascript\
**Created:** [March 24, 2024, 7:51am UTC](https://forum.freecodecamp.org/t/learn-basic-javascript-by-building-a-role-playing-game-step-99-create-a-new-empty-sellweapon-function/681817 "2024-03-24T07:51:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TimiFrancis](https://avatars.discourse-cdn.com/v4/letter/t/9f8e36/32.png) [@TimiFrancis](https://forum.freecodecamp.org/u/TimiFrancis)\
**Post date:** [March 24, 2024, 7:51am UTC](https://forum.freecodecamp.org/t/learn-basic-javascript-by-building-a-role-playing-game-step-99-create-a-new-empty-sellweapon-function/681817/1 "2024-03-24T07:51:30Z")

</div>

I have been stucked here, step 99 says create a new empty sellWeapon function, ive done all i could but it keeps saying Syntaxerror Unexpected token

---

<div class="post-metadata">

**Author:** ![Ray13](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ray13/32/351582_2.png) [@Ray13](https://forum.freecodecamp.org/u/Ray13)\
**Post date:** [March 24, 2024, 8:03am UTC](https://forum.freecodecamp.org/t/learn-basic-javascript-by-building-a-role-playing-game-step-99-create-a-new-empty-sellweapon-function/681817/2 "2024-03-24T08:03:29Z")

</div>

Hi there! Please share your code, how to do:  
[Forum code formatting](https://forum.freecodecamp.org/t/forum-code-formatting/25574)  
And share a link to the task

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [September 22, 2024, 8:03pm UTC](https://forum.freecodecamp.org/t/learn-basic-javascript-by-building-a-role-playing-game-step-99-create-a-new-empty-sellweapon-function/681817/3 "2024-09-22T20:03:53Z")

</div>

Closed on September 22, 2024, 8:03pm UTC

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
