Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7458867
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T13:31:03+00:00 2026-05-29T13:31:03+00:00

I need to create a more organized array of data to parse into my

  • 0

I need to create a more organized array of data to parse into my template
How could I write this better? I’d like to group the arrays in their own arrays like Vars: [array], [array] … mvData: [array], [array] … etc..

I’d like to be able to use vars.globalVars[2] / mvData.Revenue – etc…

I am still learning about arrays – see what I have below. All the data is just figurative..

vars = ['Game', 'Player', 'Social Stats'];
mvData = ['22,359', '16,235', '10,938', '5,305', '12,588', '6,583'];    
evoMetric = ['Registered Players', 'Started Missions', 'Objects Bought', 'Combats', 'Guerrilla Combats', 'Teams Created', 'Guerillas created'];
playerMetric = ['playerMetric', 'playerMetric', 'playerMetric', 'playerMetric', 'playerMetric', 'playerMetric', 'playerMetric'];
socialMetric = ['Invitations', 'Gifts', 'Combats', 'Comic', 'Trailer', 'Illustration', 'Mission', 'Levels'];
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T13:31:09+00:00Added an answer on May 29, 2026 at 1:31 pm

    In Javascript, you can easily create complex data structures. The following is a valid object

    myObject = {"property1": "value1", 
                "property2": "value2", 
                "subobject": {"subproperty": "subvalue"},
                "aubarray": ["element1", "element2", {"innerobjectkey": "innerobjectvalue"}]};
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to create an XML schema that looks something like this: <xs:element name=wrapperElement>
I need to create a stored proc that will return records (more than one
I need create custom dialog and put JPanel into it. Is it possible?
I need to create a 2D int array of size 800x800. But doing so
I need to create two (or more) WPF windows from the same process. But
I need to make next task: file: string1 data1 data I need to create
I need to create a more advanced list in my android application, that will
While creating new records. I need to create more records for the same model.
i need create an email list sending to many emails. what is best solution
Need to create a custom DNS name server using C which will check against

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.