Friday, July 15, 2011

Javascript use of global arrays...?

If the assignment's purpose is to exercise the use of global arrays, then you're fine. Just glancing at the code, you're using global variables here. Whether or not the code works, I dont know -- I haven't tried what you pasted. But if its working for you, I think you should be fine. At a high level, it looks like youre overwriting your strCurrency array with a user input.

No comments:

Post a Comment