Posts by Juan Mendes • 169 points
4 posts
-
-1
votes1
answer26
viewsA: Interval between commands in C#
Console.WriteLine("Essa opção não existe"); //comando para intervalo aqui System.Threading.Thread.Sleep(2000) Console.Clear(); break; Behold…
-
2
votes1
answer96
viewsA: Is there anything similar to the Optional Chaining (optional chaining) of Javascript in PHP?
Yes, in PHP 8 we can use session?->adminUser?->getAuthCredentials()?->email References: https://wiki.php.net/rfc/nullsafe_operator…
-
0
votes1
answer82
viewsA: Change HTML/CSS/JAVASCRIPT image
An id has to be unique on a page, so you’re modifying the same element. The easiest way to solve the problem is to understand that Event handlers in attributes have access to the element such as…
-
1
votes1
answer112
viewsA: For object in typescript, how to get the object name?
The name of each of the keys is campoObrigatorio const objetos = { a: { prop: 1 }, b: { prop: 2 } }; for (let nome in objetos) { console.log({ nome, conteudo: objetos[nome] }) }…