Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for Convert javascript array to string

Current License: CC BY-SA 4.0

7 events
when toggle format what by license comment
Sep 9, 2022 at 18:03 comment added user447356 @CaleMcCollough the question author had no idea how this is called back when asking, and neither did I. As the other comment here correctly says, "Associative array" is also incorrect as it refers to abstract data structure. In JavaScript, every object is an associative array, including plain array. So to make it more simple I just used "not a plain array" and I stand by this definition. And the answer is correct, it iterates the keys, and collecting the data into plain array that is later converted to string.
Sep 9, 2022 at 17:11 comment added Cale McCollough A JavaScript object is not a JavaScript Array. You should probably inform people that this is not the correct answer to the question because the question was asked incorrectly and the user meant associative array, but for me, it's not what I searched for.
Jul 27, 2021 at 6:00 history edited user447356 CC BY-SA 4.0
edited body
Jul 26, 2021 at 20:26 comment added Heretic Monkey "Associative array" being a non-JavaScript term for object
Oct 22, 2015 at 22:00 history edited user447356 CC BY-SA 3.0
Embed as a Stack Snippet
Mar 13, 2011 at 13:31 vote accept Neo
Mar 13, 2011 at 13:00 history answered user447356 CC BY-SA 2.5

AltStyle によって変換されたページ (->オリジナル) /