Skip to content
#

JavaScript

javascript logo

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...

YanDevDe
YanDevDe commented Feb 18, 2020

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

just-boris
just-boris commented Feb 7, 2021

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

electron
material-ui
joemaffei
joemaffei commented Feb 10, 2021

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 '{
storybook
kev-hoang
kev-hoang commented Jan 29, 2021

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

A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.

  • Updated Feb 12, 2021
  • JavaScript

Created by Brendan Eich

Released December 4, 1995

Website
developer.mozilla.org/en-US/docs/Web/JavaScript
Wikipedia
Wikipedia

Related Topics

nodejs