Posts by Marcelo Santos • 31 points
3 posts
-
0
votes0
answers80
viewsQ: What is the alternative to the obsolete method (according to MDN) Document.execCommand?
I’m trying to make a simple text editor with javascript and need a way to format a text within a div who is serving as a textArea. I looked up some ways on the Internet and they all use the method…
javascriptasked Marcelo Santos 31 -
0
votes1
answer143
viewsQ: Sort by quantity properties with different javascript names
Suppose I have the following object array: const funcionarios = [ { "id":0, "nome":"Marcelo", "sobrenome":"Silva", "salario":3200.00, "area":"SM" }, { "id":1, "nome":"Washington",…
javascriptasked Marcelo Santos 31 -
0
votes2
answers707
viewsQ: Get maximum, average and minimum value on a JSON of an object array
I have the following JSON: { "funcionarios":[ { "id": 0, "nome": "Marcelo", "sobrenome": "Silva", "salario": 3200.00, "area": "SM" }, { "id": 1, "nome": "Washington", "sobrenome": "Ramos",…