Question: How to convert this in Javascript from:

```
[
   {
      "label": "Purok I",
      "y": "1"
   },
   {
      "label": "Purok II",
      "y": "1"
   },
   {
      "label": "Purok III",
      "y": "2"
   }
]

```

to:

```
[
   {
      label: "Purok I",
      y: 1
   },
   {
      label: "Purok II",
      y: 1
   },
   {
      label: "Purok III",
      y: 2
   }
]

```

Any help?

Answer: 
`.gitignore` works for files not yet `add`ed, but not for files that are already tracked.

You may have to use `git filter-branch` to [remove those files from your Git local history](https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History#_removing_file_every_commit).

After that, a force push is needed, because you have modified the history.
.gitignore wont work for files or folders that are already pushed (inside a branch);
edit git ignore directly in repo, delete files, and then pull to local;
remove files in local