Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const techCompanies = [
- { label: "Apple", value: 1 },
- { label: "Facebook", value: 2 },
- { label: "Netflix", value: 3 },
- { label: "Tesla", value: 4 },
- { label: "Amazon", value: 5 },
- { label: "Alphabet", value: 6 },
- ];
- [[object Object]: {…}]
- [object Object]:
- value: 12
- for(var i = 0; i < partition.partition.length; i++) {
- var obj = partition.partition[i];
- var m = {
- label: obj.name
- }
- var k = {
- value: i
- }
- tab[m] = k
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement