wyllix

4.4K posts

wyllix banner
wyllix

wyllix

@1wyllix

Katılım Ocak 2021
456 Takip Edilen182 Takipçiler
wyllix retweetledi
Dhairya
Dhairya@dkare1009·
Top Websites to Learn for FREE 📘📚 #coder #programmer
Dhairya tweet media
English
8
279
1.5K
49.3K
wyllix retweetledi
Adriano Viana
Adriano Viana@adriano_viana·
A maioria dos iniciantes em Java desiste. O motivo? Eles não têm um mapa. Pulando de "Core Java" para "Spring" sem entender o que há no meio. Este é o mapa. O caminho exato, passo a passo, que te impede de ficar perdido. Salve para começar do jeito certo.
Adriano Viana tweet media
Português
0
20
316
12.8K
wyllix retweetledi
Haru 吉田 春
Haru 吉田 春@haru16bit·
Obrigado Nelio Alves, você faz qualquer um entender Java public class Main { public static void main(String[] args) { System.out.println("Olá mundo!"); } }
Haru 吉田 春 tweet media
Português
21
134
1.3K
38.6K
wyllix retweetledi
Aina Sanghi
Aina Sanghi@ainasanghi·
Arrays in Javascript in a nutshell: 1. What are Arrays? An array is a structured collection of values, where each value is assigned a unique index. These values can be of any data type, including numbers, strings, objects, and even other arrays. JavaScript arrays use zero-based indexing, meaning the first element is at index 0, the second at index 1, and so on. This indexing system is common in many programming languages. 2. How to create arrays: Arrays can be created using square brackets []. You can initialize them with values, or they can be empty. 3. Accessing Array Elements: Arrays use a zero-based index as mentioned earlier, meaning the first element is at index 0, the second at index 1, and so on. You access array elements by specifying their index inside square brackets. 4. Modifying Array Elements: You can change the value of an array element by assigning a new value to a specific index. 5. Adding and Removing Array Elements JavaScript provides methods to add and remove elements from arrays. The "push" method adds an element to the end, while the "pop" method removes the last element You can also use "unshift" to add an element to the beginning and "shift" to remove the first element. 6. Array Length: You can find the number of elements in an array using the ''length'' property. 7. Looping Through Arrays: Loops like for and modern methods like forEach help you iterate through array elements efficiently. 8. Array Destructuring: This feature allows you to extract multiple elements from an array and assign them to separate variables. 9. Array Spread Operator: The spread operator (...) allows you to copy the contents of one array into another or spread elements in function arguments. 10. Array Manipulation: Methods like map, filter, and reduce are essential for transforming and processing array data. 11. Iterating with for...of: The for...of loop simplifies array iteration by directly providing the elements, rather than indices. 12. Types of Arrays: - Static Arrays: These are the most basic types of arrays. They have a fixed length determined when the array is created. You can't add or remove elements beyond the initial length. - Dynamic Arrays: Dynamic arrays are more flexible. They can grow or shrink in size dynamically by adding or removing elements. JavaScript arrays are typically dynamic. - Sparse Arrays: Sparse arrays are those with "holes" or undefined elements. They don't have consecutive index values. They are not commonly used but can be created intentionally. - Typed Arrays: Typed arrays are designed for working with binary data and have a fixed data type for their elements. They are often used in scenarios like dealing with audio, video, or network data. - Array-Like Objects: Some objects in JavaScript, like the ''arguments'' object or the ''NodeList'' returned by ''querySelectorAll'' , resemble arrays but are not true arrays. They have indexed properties, but they lack many array methods. - 2D Arrays (Multidimensional Arrays): These arrays are arrays of arrays, allowing you to represent data in a grid or table format. They are useful for working with matrices or other two-dimensional data structures. - Jagged Arrays: Jagged arrays are arrays in which the sub-arrays (elements) can have different lengths. They are often used in scenarios where data is irregular or doesn't conform to a strict grid structure.
Aina Sanghi tweet mediaAina Sanghi tweet mediaAina Sanghi tweet mediaAina Sanghi tweet media
English
2
65
401
20.5K
wyllix retweetledi
Zero
Zero@oTioZero·
Kkkkkkkkkkkkkkkkkkkkkkkkkkk
302
3.8K
27.1K
574K
wyllix retweetledi
Sucumba Games
Sucumba Games@SucumbaGames·
Crianças estão protestando após o Roblox bloquear Chat de voz e texto para menores de 9 anos A medida faz parte de uma atualização de segurança que divide os Jogadores em faixas etárias para tentar impedir que adultos conversem com menores de idade.
Português
420
1.1K
14.4K
878.2K
wyllix
wyllix@1wyllix·
@Dnx20_ joga muitoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
Português
0
0
1
65
mooda
mooda@moodafps·
I will become the Elden Lord... 1.30.2025
English
61
57
2.3K
216K
lola fofa
lola fofa@heloisaghot·
queria que um homem da voz grossa que fosse bom em joguinhos online me dissesse que vai ficar td bem
GIF
Português
4
1
11
12.2K
zara
zara@zaratinnn·
óbvio q deu o menino
Português
1
0
0
57
sarah
sarah@sarah_frags·
:P
48
84
3K
139.4K
PrOzinL
PrOzinL@PrOzinL_·
and i got revenge... coisas boas vindo!!!
English
7
3
19
974