Skip to content

Tag: arrays

Use an object attribute to create an array with it [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 9 months ago. Improve this question Hi guys i want to do something “simple” but not for me, I hav…

Finding the symmetric difference in a loop

I need to write a function that can take an indefinite number of arrays containing integer numbers and it should return 1 array which is the accumulative symmetrical difference between those arrays. Only two arrays are compared at a time. So [1, 2, 3], [3, 4, 2], [1, 5, 3] would first result in [1, 4], (compa…

Sudoku puzzle test

Trying to write a script that check if Sudoku puzzle is correctly solved. I tried to check every value using 2 cycles and test method and replace value to “0” if test return true but script does not replace all the values and I don’t understand why. Could you please explain why script replac…

Get data from array based on time intervals [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 9 months ago. This post was edited and s…

Highmaps js, on Hover display additional data

I’m working with the map of Paraguay. I added an input select to select different years and the maps changes according to my selection. The thing is, my data always comes in this format: With the help of this function I’m able to switch the values for the map according to selection and change the …