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 202,344 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

electron
DanielRosenwasser
DanielRosenwasser commented Feb 23, 2021
interface Foo {
    /**
     * Hallo this is docs
     */
    yadda(): void
}

let x: Foo = {
    yadda/**/
};

Imagine that I am typing some code. I realize I don't remember what yadda is supposed to look like, so I run go-to-definition on yadda.

Problem

Go-to-definition doesn't work, because at this point yadda is a shorthand property, so go-to-definition tr

storybook
JesusTheHun
JesusTheHun commented Feb 18, 2021

Currently is you set a component property to an object carrying a BigInt the entire storybook stops functioning. The console logs show an error trying to serialize this object.

Uncaught TypeError: Do not know how to serialize a BigInt
    at JSON.stringify (<anonymous>)
    (...)

Code sample to help you get the context :

const invitations = {
  isLoading: false,
  e

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 23, 2021
  • JavaScript

Created by Brendan Eich

Released December 4, 1995

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

Related Topics

nodejs