Last active
December 4, 2020 15:00
-
-
Save i386net/0dfe187f0feaed6f7e3aa1b8efc88230 to your computer and use it in GitHub Desktop.
Получить список абонентов Манго Офис #mango
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getUsers() { | |
const items = document.querySelectorAll('.filtered-item'); | |
const arr = []; | |
items.forEach(item => {arr.push({name : item.querySelector(".name").textContent, number : item.querySelector(".transfer-number").textContent})}); | |
console.table(arr, [ 'name', 'number' ]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment