# JSTotD: Using Flattened Arrays

**URL:** <https://forum.kirupa.com/t/jstotd-using-flattened-arrays/642562>\
**Category:** web dev\
**Created:** [April 24, 2020, 2:32pm UTC](https://forum.kirupa.com/t/jstotd-using-flattened-arrays/642562 "2020-04-24T14:32:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![REB\_412](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/reb_412/32/9233_2.png) [@REB\_412](https://forum.kirupa.com/u/REB_412)\
**Post date:** [April 24, 2020, 2:32pm UTC](https://forum.kirupa.com/t/jstotd-using-flattened-arrays/642562/1 "2020-04-24T14:32:23Z")

</div>

Re: [Flattening Arrays](http://forum.kirupa.com/t/javascript-tip-of-the-day/641803/85)

Interesting article but I have a few questions. First, in your ticTacToeBoard example, will the original array reflect any changes that are made to the flattened array? Second I assume this it just a one way operation in that once the array is flattened there is no way to go back to the original array. That is correct right?

---

<div class="post-metadata">

**Author:** ![senocular](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/senocular/32/7217_2.png) [@senocular](https://forum.kirupa.com/u/senocular)\
**Post date:** [June 8, 2020, 11:19pm UTC](https://forum.kirupa.com/t/jstotd-using-flattened-arrays/642562/2 "2020-06-08T23:19:24Z")

</div>

2 posts were merged into an existing topic: [JS Tip of the Day: Flattening Arrays](https://forum.kirupa.com/t/js-tip-of-the-day-flattening-arrays/643113)

---

<div class="post-metadata">

**Author:** ![senocular](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/senocular/32/7217_2.png) [@senocular](https://forum.kirupa.com/u/senocular)\
**Post date:** [June 8, 2020, 11:19pm UTC](https://forum.kirupa.com/t/jstotd-using-flattened-arrays/642562/3 "2020-06-08T23:19:24Z")

</div>


