Posts by Joao Lima • 89 points
5 posts
-
-3
votes2
answers48
viewsQ: ES2015 syntax error
I developed an npm package using es2015 preset in local environment worked very well because I was running Babel-Node index.js. When I posted it on npm and installed in a project to test. Using it…
-
0
votes3
answers819
viewsQ: Update content of JSON file
I am trying to manipulate a JSON file using Python but whenever I run the program it erases the JSON file causing me to miss the last change, has how to make it just add to the file? Filing cabinet:…
-
5
votes3
answers2304
viewsQ: Check how many times a number appears in the array
I have an array with the following values: let arrey = ["1","1","1","2","2","2"]; As it is possible to check how many times the number 1 appears and how many times the number 2 appears, for example,…
-
0
votes2
answers112
viewsQ: Rest framework Django
Good evening, I was studying a bit of Rest framework on Jango and I developed a simple Api to consume with Angular went all right however my api I did is limited to { [ { "id":1, "name":"lima",…
-
0
votes1
answer47
viewsQ: Add an object to a arrey
I’m trying to concatenate several objects so that they form a single arrey in my angular design. I’ll show you some code selectFedd(user,feed){ const key = user[0].userQueEuSigo feed.forEach(element…