-
Updated
Feb 12, 2021 - JavaScript
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 200,146 public repositories matching this topic...
React version: 17.0.1 (latest)
Steps To Reproduce
This code finishes properly in node.js 14, but holds the process open in node.js 15
global.window = global; // simulate JSDOM
require('scheduler');
Since node.js 15, there is a global MessageChannel
object now, which prevents node event loop from exiting. To let the process shut down properly, it should either call `po
-
Updated
Feb 12, 2021 - JavaScript
-
Updated
Feb 8, 2021
-
Updated
Feb 3, 2021 - JavaScript
-
Updated
Feb 10, 2021 - JavaScript
Issue Details
- Electron Version:
- 11.0.3
- Operating System:
- Windows 10
- Last Known Working Electron version:
Expected Behavior
An invalid entry to the JumpList
does not cause other entries to disappear.
Actual Behavior
A single invalid JumpList
entry makes all other entries disappear.
To Reproduce
-
Updated
Feb 11, 2021 - JavaScript
pipeline
should immediately fail with ERR_STREAM_DESTROYED
when any of the streams have already been destroyed.
Readable
might need a little extra consideration since it's possible to read the data after being destroyed. Should maybe check _readableState.errored
and/or _readableState.ended
.
-
Updated
Feb 3, 2021
Until aarch64
releases are vendored (#4862), deno upgrade
should exit with an error message rather than downloading, unzipping, and trying to execute an x86_64
binary on an aarch64
system.
Inspired by PR #36448.
We should set process.title
in all of our node binaries, including
- @angular/compiler-cli
- @angular/localize
- @angular/cli
- @angular/service-worker
- Language service (?)
- ng-linker (?)
-
Updated
Feb 10, 2021 - JavaScript
-
Updated
Feb 12, 2021 - JavaScript
In this simple example, I get a Typescript error for tagProps:
type Tag = { color: string; label: string; }
type TagComponentProps = Tag & HTMLAttributes<HTMLDivElement>;
const TagComponent = styled.div<TagComponentProps>``;
function renderTags(value: Tag[], getTagProps: AutocompleteGetTagProps) {
return value.map(({ color, label }, index) => {
// TS2322: Type '{
-
Updated
Feb 12, 2021 - JavaScript
Describe the bug
If the current day of the month the user is in is not available in the target month in the controls date picker, then it would not allow you to select the month. I noticed that the date picker was working fine yesterday (1/28) when I need to select 2/5 for the view and then today (1/29) when I try to select 2/5 it would automatically switch to 3/5.
To Reproduce
Steps
-
Updated
Feb 12, 2021 - JavaScript
-
Updated
Feb 10, 2021 - JavaScript
-
Updated
Feb 2, 2021 - JavaScript
-
Updated
Feb 10, 2021 - Vue
-
Updated
Feb 11, 2021 - JavaScript
-
Updated
Feb 11, 2021 - JavaScript
-
Updated
Feb 4, 2021
-
Updated
Jan 21, 2021 - JavaScript
-
Updated
Feb 1, 2021
-
Updated
Feb 11, 2021 - TypeScript
Created by Brendan Eich
Released December 4, 1995
- Website
- developer.mozilla.org/en-US/docs/Web/JavaScript
- Wikipedia
- Wikipedia
What problem does this feature solve?
It would allow us to use numbers which is larger than MAX_SAFE_INTEGER.
What does the proposed API look like?
In HTML,
{{BigInt("100")}}
,{{100n}}
,{{2n * 50n}}
or{{50n + 50n}}
should show "100" (it can be just simply string by using .toString()) at frontend.At the moment using BigInt in "Mustache" syntax just throw error.
Sure, backu