Alexander3928,
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<script>
document.addEventListener( "DOMContentLoaded" , function() {
let text = Array.from(document.querySelectorAll(".div11"), ({textContent}) => textContent);
alert(text);
});
</script>
</head>
<body>
<div class="div11">one</div>
<div class="div11">3</div>
<div class="div11">4</div>
<div class="div11">two</div>
</body>
</html>