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 9241579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:23:40+00:00 2026-06-18T08:23:40+00:00

I am writing a game for the Windows App store that will use HTML5

  • 0

I am writing a game for the Windows App store that will use HTML5 and Javascript.

Are there any implementations of ArrayList or LinkedList for this platform? If so could someone give me an example how to use it?

  • 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-06-18T08:23:41+00:00Added an answer on June 18, 2026 at 8:23 am

    A JavaScript Array does not have a fixed length and thus can be used like an ArrayList. You just have to use the right methods:

    • arrayList.Add(element) = array.push(element)
      Adds an element to the end of the array. The push/pop naming works like a queue: add/remove at the end.
    • arrayList.AddRange(collection) = array.push(element1, element2, ...)
      Adds multiple elements to the end of the array. Like many other Array methods, push can take a variable number of elements to append.
    • arrayList.RemoveRange(index, count) = array.splice(index, count)
      The name is a bit less obvious. splice removes the given number of elements (count) at index.
    • arrayList.RemoveAt(index) = array.splice(index, 1):
      Passing 1 as count to splice removes just one element.
    • arrayList.Insert(index, x) = array.splice(index, 0, element)
      splice also takes a variable number of elements to insert at the index after removing the given number of elements. By removing no elements (passing 0 as count), you can use it to simply insert new elements.

    All of these methods correctly adjust the length of the array and shift elements around, as opposed to delete array[index]. delete simply removes properties from an object and does not treat arrays differently, so you’re left with a “gap”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Writing a Windows 8 app in Javascript using Visual Studio Express. I'm not sure
I'm currently writing a game of immense sophistication and cunning, that will fill you
I am writing a windows phone 7 game that deals with extracting the spectrum
I'm writing a small game for Windows Phone 7. It's a vocabulary based game,
I'm writing free game for Android and im going to use AdMob. I have
I'm writing a Windows 8 game. The game runs on Windows 7, Windows Phone,
I'm tinkering with writing a simple text-based role-playing game. I would like to use
I'm using Java2D for a game I'm writing and haven't had any issues using
I am currently writing a simple snake clone game for Windows 8 using MonoGame.
I'm writing a game that should run on several platforms. I need a good

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.