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 143,814 public repositories matching this topic...

freeCodeCamp
RandellDawson
RandellDawson commented Mar 2, 2020

Following up on the comment on PR 38309, the following English challenge tests need to be updated as described, as the non-English version were translating these when they should not have been translated.

  • Standardize Times with the HTML5 datetime Attribute
    Issues: All tests need to be re-translated

  • Use

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

bvaughn
bvaughn commented Feb 10, 2020

The DevTools Profiler occasionally encounters the error:

Could not find commit data for root "..." and commit ...

This issue is intermittent and we do not currently know hot to reproduce it. If you can reproduce it we would love to get any of the following information from you:

  • Info about how you reproduce it. (Share your code or site with us?)
  • An exported Profiler JSON that contai
slikts
slikts commented Sep 12, 2018

Chapter in question: https://github.com/getify/You-Dont-Know-JS/blob/master/es6%20%26%20beyond/ch2.md#template-literals

The suggestion seems to be that the template literals would be all about strings; there's only examples that result in strings, and phrases like "final string value" and "generating the string from the literal" are used in what should be a general context, but the tag function

electron
three.js
angular
javajohnHub
javajohnHub commented Mar 9, 2020

πŸ“š Docs or angular.io bug report

Description

If you bookmark an angular site in safari and follow the bookmark, the Page Title service fires but never updates when you continue navigating the site. It is happening in my app and also on angular.io.

πŸ”¬ Minimal Reproduction

Go to angular.io in safari and bookmark a page. Follow the bookmark back to angular.io. Continue to navigate el

material-ui
kurkle
kurkle commented Feb 24, 2020

Tooltip animation configuration is not documented.

The defaults are in Chart.defaults.tooltips.animation.
The default config is:

	animation: {
		duration: 400,
		easing: 'easeOutQuart',
		numbers: {
			type: 'number',
			properties: ['x', 'y', 'width', 'height'],
		},
		opacity: {
			easing: 'linear',
			duration: 200
		}
	},

_Originally posted by @benmccann in htt

storybook
levelingup
levelingup commented Dec 24, 2019

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
flapili
flapili commented Mar 3, 2020

Existing Component

Yes

Component Name

el-scrollbar

Description

I'm trying to add a scrollbar to an aside menu with el-scrollbar componant but I have some difficulty due to missing entry in the documentation.
My case is exactly the same as the documentation: a fixed header, a scrollable sidebar menu and a scro

martingronlund
martingronlund commented Oct 1, 2019
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
sadokmtir
sadokmtir commented Jan 21, 2020

I think it is worth mentioning that the solution stated Catching unresolved and rejected promises is not always valid. what I mean is that if a promise is caught on a later turn of the Node.js event loop, then probably throwing an error on this global catch is not a good idea. I am wondering how this is counted as best practice while obviously from the node official documentation it should

MastroLindus
MastroLindus commented Feb 24, 2020

Some of the issues below are already mentioned in other tickets, but I have the feeling that a proper generic issue is due to give it visibility, as for now the current package is unusable for many users.

  1. The typescript package doesn't respect the tsconfig flags, and many of them are hardcoded inside the meteor/babel package.
    I understand that meteor needs to control some compilation option
Front-End-Checklist
sabrinaluo
sabrinaluo commented Jun 5, 2019

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.

  1. install a package with any version, e.g "pkg": "^1.0.0"
  2. add resolutions field in package.json, pkg: "1.0.0"
  3. upd

Created by Brendan Eich

Released December 4, 1995

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

Related Topics

nodejs
You can’t perform that action at this time.