Home › Forums › JavaScript › Store JSON data in a variable › Reply To: Store JSON data in a variable
November 20, 2014 at 2:17 pm
#188855
__
Participant
I’m not quite sure what you’re asking, but in any case I couldn’t answer without some context.
I have a list of questions and one of the task …
Is this something you’re trying to build? study? homework?
one of the task is to store them separate into a JSON file
what is “them”?
what do you mean by “store” (are you talking about saving user input)?
Some general reasons for storing something in a separate file are organization, security, reusability (and by extension, flexibility)… hard to say without knowing what you’re trying to do.