Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Cannot Assign the value for key "UK" to a constant named ukCurrency.
As the title says, I am having trouble assigning the value "UK" to a constant named "ukCurrency". Here are the lines of code I have tried:
currencies["UK"] = "ukCurrency"
Thanks in advance!
let currencies = ["US": "Dollar", "UK": "Pound", "JP": "Yen"] currencies["UK"] = "ukCurrency"
Thanks man! I actually just figured it out from a similar post about five minutes ago. I think I understand it now.
QA;TL stands for "Question Answered, Thread Locked"
It's used a lot on other forums so I assumed y'all would know about it.