JavaScript
JavaScript (JS) is a lightweight interpreted or JIT-compiled programming language with first-class functions. While it is most well-known as the scripting language for Web pages, many non-browser environments also use it, such as Node.js, Apache CouchDB and Adobe Acrobat. JavaScript is a prototype-based, multi-paradigm, dynamic language, supporting object-oriented, imperative, and declarative (e.g. functional programming) styles.
Here are 138,790 public repositories matching this topic...
Version
2.6.10
Reproduction link
Steps to reproduce
- compare the AsyncComponentFactory definition with the document
What is expected?
attribute 'componen
Feature request from a DevTools user at Faceook:
If I mouse over a node in the flame graph if you can highlight it in the view like the inspector that would be really amazing!
Wasn't sure quite where to report this, but it appears your HTML <blockquote> example isn't technically correct:
<blockquote class="blockquote">
<p class="mb-0">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
<footer class="blockquote-footer">Someone famous in <cite title="S
Consider the following snippet run in the main process where one wants to listen for "will-prevent-default" events and after some asynchronous operation (do_something, a call which returns a Promise) initiated by the event listener, depending on the result (result) of the operation, call preventDefault on the even
-
Updated
Feb 4, 2020 - JavaScript
When not using a file extension in ESM - eg import pkg from './path' we currently just throw a straightforward not found error. As proposed by @MylesBorins in nodejs/modules#443 it would be useful to enhance this error message.
Ideally the error message should run the CJS resolver and say "the CJS resolver would have resolved this module to ...". We actually previous
-
Updated
Feb 4, 2020 - JavaScript
The deprecated decodeDracoFile method should be removed and replaced with a parse method similar to other loaders. Currently decodeDracoFile does not propagate errors, and should do so. So probably a signature like:
dracoLoader.parse( arrayBuffer, /* options, maybe? */, onLoad, onError );Search Terms
- return type quick fix
- async function quick fix
- global promise type
Suggestion
It would be nice if TypeScript contributed a quick fix to resolve The return type of an async or global function must be the global Promise<T> type errors. The fix would simply wrap the existing return type into a Promise.
Checklist
My suggestion meets these guidelines:
Description
So our function arrayToHtmlList is in a pretty bad space and could use an update. We already had some discussion over at #675 but I wanted to move the update discussion over to an issue for more visibility.
Current problem:
It uses an awkward query selector instead of the `document.prototype.getElementBy
OutlinedInput is not working as expected on prod after build with styled components.
- The issue is present in the latest release.
- I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior 😯
Fieldset getting squeezed in production.
https://youtu.be/HpLK2PLnqqc
Expected Behavi
Do you want to request a feature or report a bug? Feature
So getAllowedLocations is mentioned in the Atom flight manual, but it's not mentioned elsewhere in the docs. I thought I could implement just getDefaultLocation without having to also implement getAllowedLocations, but I get the following in the developer tools:
`C:\Use
If you follow the readme procedure, the following error will occur in the first npm install express.
saveError ENOENT: no such file or directory, open '/xxx/xxx/package.json'
As you know, the cause is package.json does not exist.
Other users seem to have a similar error, so it seems better to add npm init to the readme.
Or I thought it would be nice to bring a link `Please follow
Documentation Is:
- Missing or needed
- Confusing
- Not Sure?
chartArea node has been changed into v3
The chartArea node of a chart adds width and height properties, comparing with version 2.9.3.
Add into doc for migration 3
At the moment this change is not documented into migration 3 doc
I tried to follow the initial steps from here: https://www.learnstorybook.com/intro-to-storybook/react/en/get-started/
running:
npx create-react-app taskbox
cd taskbox
Then when I ran:
npx -p @storybook/cli sb init
I get the error TypeError: Cannot set property 'storybook' of undefined
This is the full message in my terminal:
sb init - the simplest way to add a
-
Updated
Feb 4, 2020 - JavaScript
const customizer = console.log // returns undefined => merging is handled by `mergeAllWith`
// good
mergeAll([{ a: 1 }, { b: 2 }]) // { a: 1, b: 2 }
mergeAllWith(customizer, [{ a: 1 }, { b: 2 }]) // { a: 1, b: 2 }
// A-OK; customizer logs the following:
// undefined 2 "b" Object { a: 1, b: 2 } Object { b: 2 } undefined
// bad
mergeAll({}, { a: 1 }, { b: 2 }) // { a: 1, b: 2 }; OU-
Updated
Feb 4, 2020 - JavaScript
Do you want to request a feature or report a bug?
feature request
What is the current behavior?
Currently yarn why won't indicate any package info in the resolutions field
If the current behavior is a bug, please provide the steps to reproduce.
- install a package with any version, e.g
"pkg": "^1.0.0" - add
resolutionsfield in package.json,pkg: "1.0.0" - upd
-
Updated
Feb 4, 2020 - JavaScript
Created by Brendan Eich
Released December 4, 1995
- Website
- developer.mozilla.org/en-US/docs/Web/JavaScript
- Wikipedia
- Wikipedia

The following solution is mentioned in the hints/solutions page for the Steamroller challenge.