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,091 public repositories matching this topic...
What problem does this feature solve?
I just spent way too long debugging something really weird until I realized I accidentally wrote :v-if instead of v-if.
A warning when wrongly using shorthands like : on "native" vue attributes could prevent this bad experience easily.
What does the proposed API look like?
:v-if="foo"
--> console.warn("You specified v-bind:/ v-on:
This is a continuation of an previous issue to add support for the BigInt data type in React DevTools.
Original PR facebook/react#17233 (merged)
This happens when you try to copy a BigInt value to clipboard via React DevTools.
Would @nutboltu mind taking a look?
backend.js:1 Uncaught TypeErr
The code example is as follows:
function isThisCool(vals, fn, rx) {
vals = vals || Array.prototype;
fn = fn || Function.prototype;
rx = rx || RegExp.prototype;
return rx.test(
vals.map(fn).join("")
);
}
isThisCool(); // true
isThisCool(
Part 1:
The current Airbnb config has the "import/extensions" ESLint rule turned on. However, the reasoning for this is not given on the official style guide, and even the fact that the rule is turned on at all is not documented on the style guide. For example, there should be a blurb added to the section on modules that says something along the l
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
Section/Content To Improve
Section "Config order of precedence".
Suggested Improvement
The current implementation of
test-source-map fails on Windows 10. Looking at the test file, there is a special case for Windows that is not being met under certain conditions. I believe it has to do with how git is configured to handle line endings on checkout but I still need to confirm
C:\Users\jasne\Projects\node>Release\node test\parallel\test-source-map
assert.js:93
throw new AssertionError(obj);
^
Huge and nice collection and also getting very much appreciated from the community.
It would be great if somebody can translate into English then it will be reaching out to global.
Dead Links
I think it makes more sense to return an empty array
// invalid input return null or throw an error
if (!setA || !setB) {
return null;
}
if (!setA.length || !setB.length) {
return [];
}
// or do nothing since the for loop will not trigger anyway
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 );📚 Docs or angular.io bug report
Description
The GDE list at angular.io is not compatible with the di
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
Feature request
Support optionalDependencies as NPM and Yarn do:
http://npm.github.io/using-pkgs-docs/package-json/types/optionaldependencies.html
https://yarnpkg.com/lang/en/docs/dependency-types/
It's useful for example when you need to use an package in Windows and other in Mac/Linux and packages support os t
[Enter steps to reproduce:]
- ...
- ...
Atom: 1.41.0 x64
Electron: 4.2.7
OS: Microsoft Windows 10 Enterprise
Thrown From: 'atom-ctags' package vundefined
Stack Trace
Uncaught TypeError: Cannot read property '\GitHub\scikit-learn.circleci\config.yml' of null
At \.atom\packages\atom-ctags\lib\ctags-cache.coffee:49
TypeError: Cannot read property \G
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
Is your feature request related to a problem? Please describe.
I would like to be able to configure the iframe width in the same way I can already configure the height.
Describe the solution you'd like
To add a parameter similar to iframeHeight that will configure the width of the iframe. Ideal name would be iframeWidth
Describe alternatives you've considered
Any other met
A professional front-end template for building fast, robust, and adaptable web apps or sites.
-
Updated
Jan 29, 2020 - JavaScript
Element UI version
2.13.0
OS/Browsers version
Vue version
2.6.10
Reproduction Link
Steps to reproduce
What is Expected?
Component being consisted with docs
What is actually happening?
Snippet from table-column.js:
resizable: {
type: Boolean,
default: true
}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 }; OUThe following folks suggested & contributed great new ideas and enhancements:
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
The Head section says:
The next 2 meta tags (Charset and Viewport) need to come first in the head.
I found a reference for Charset being early on in the head:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
The
<meta>element declaring the encoding must be inside the<head>element and within the first 1024 bytes of the HTML as some browsers only look at those bytes be
Hi, I have been spending quite sometime wondering why a simple dropdown was not working.
Is not specified on the docs that the must have the class 'dropdown-trigger' (any other is not triggering the dropdown!)
Just a matter of documentation but crucial in order not to waste time :.)
example, this will not work:
<a class='dropdown-button-example btn' href='#' data-target='dropdo
Created by Brendan Eich
Released December 4, 1995
- Website
- developer.mozilla.org/en-US/docs/Web/JavaScript
- Wikipedia
- Wikipedia


Is your feature request related to a problem? Please describe.
I noticed, when reviewing freeCodeCamp/freeCodeCamp#38016, that a lot of HTML was necessary to create challenges that looked good (freeCodeCamp/freeCodeCamp@7b9db26#diff-8d5114b548781516c78ac91bc507f8ebR14, for instance). While using HT