Posts by Vitor Miguel • 194 points
7 posts
-
0
votes1
answer102
viewsA: I can’t run create-React-app
If you’re not working with the latest version of Node, I recommend installing NVM (Node Version Manager), a version manager for Node, installing the latest stable version and trying to generate the…
-
0
votes1
answer21
viewsA: How to share data from a web application?
I believe that the ideal is to use/create a database on one server, to manipulate this information and with an API you store the information you capture on one domain and request this information on…
-
0
votes1
answer40
viewsQ: Postman returns JSON, but Fetch request returns status 204 in browser
I’m making a request with the function Fetch(), but I always get the same message, with 204 status: However, when making the request via POSTMAN, I receive status 200, with the necessary…
-
1
votes2
answers58
viewsQ: Creation of local server with express
I installed the framework express in my root folder with all projects on Node, so it was easy to import the modules in all projects. But when I try to start a local server, with the following scope:…
-
5
votes1
answer36
viewsQ: Why can’t I use add operator in function with this?
Why when I run the following code: function Pessoa(){ this.idade = 0; console.log(this.idade); setTimeout(function() { this.idade++; console.log(this.idade); }, 2000); } new Pessoa(); My way out is…
-
5
votes2
answers87
viewsQ: Change the type of a variable in a statement of a line, change the type of variables that come and sequence, why?
By declaring more than one variable of the same type on a line, I can subsequently perform arithmetic operations with these values. Ex.: let num1 = 10, num2 = 5, num3= 10; let resultado = num1 +…
javascriptasked Vitor Miguel 194 -
5
votes1
answer1426
viewsQ: What is the . isidentifier() method used in Python?
I came across the method string .isidentifier() and also the .isprintable(). Why use them? On what occasions would I wear this?