Questions tagged as 'javascript'

1
answer

What is the purpose of the Reflect object in Javascript?

Still curious about some news I'm seeing in Javascript, I would now like to know what the purpose of the Reflect object is. I even found an explanation on MDN , but I did not understand much well the purpose. Is this Reflect...
asked by 13.07.2018 / 18:22
2
answers

Node.js compile the JavaScript that runs on the server?

According to the V8 documentation, it compiles JavaScript for machine code as an optimization strategy. So, does the JavaScript running on the server via Node.js compile or interpret?     
asked by 29.03.2017 / 13:22
1
answer

How to make Visual Studio recognize the 'use strict' directive?

Apparently Visual Studio does not recognize the 'use strict' directive, because I typed the code below that assigns a value to a variable that was not declared (something prohibited in strict mode ) and there was no part of IntelliSense....
asked by 04.01.2014 / 18:10
2
answers

Calling C ++ from JavaScript?

I have a C ++ simulation. I passed this simulation to JavaScript so that the user could play with it in the browser, but it was much slower. If possible, therefore, I would call the function itself in C ++ within JavaScript and do this on the cl...
asked by 07.08.2014 / 00:30
1
answer

Open Facebook application via a web link on Android

I have a mobile site that the user can only access by logging in with Facebook. The Facebook SDK for Web (Javascript) works fine, however the user always has to login because it does not always is logged in the Smartphone browser, ie (for some...
asked by 28.04.2014 / 20:31
1
answer

Unique Identifier for a Smartphone

I'm developing a system and need to capture a unique Smartphone identifier. In this case, the person would access the site through the Smartphone and the site will capture some unique identifier of the device or even the browser. I thought of...
asked by 21.10.2015 / 21:35
1
answer

Function expression vs function declaration [duplicate]

What is the definition for function expression and function declaration ? What are the main advantages of one against another?     
asked by 14.05.2015 / 16:28
1
answer

Manipulate an open window from the parent window with Javascript

I'm thinking of using the native window.open() feature to create a small web system that is similar to desktop systems (made with windows forms). My problem is regarding communication and manipulation of data / events between 2 windows....
asked by 10.01.2016 / 18:35
1
answer

Extending jQuery plugin

I'm working on a project that uses the X-editable library with Bootstrap 3. Throughout the page are multiple instances of the plugin, however, there was a need for some instances to have a different template. By reading the library's documenta...
asked by 24.09.2015 / 16:45
1
answer

Difference between yield and yield * operators in ECMAScript 6.0 "Harmony"?

I'm studying the use of generators in ECMAScript 6.0 "Harmony" . I have already been able to understand its basic operation, such as declaration through the function* () { ... } syntax and the production of values through the yie...
asked by 11.12.2013 / 20:01