freeCodeCamp.org's open source codebase and curriculum. Learn to code at home.
-
Updated
Nov 13, 2020 - JavaScript
{{ message }}
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.
freeCodeCamp.org's open source codebase and curriculum. Learn to code at home.
When I run the devtools, I get the update-notifier message:
╭────────────────────────────────────────╮
│ │
│ Update available 4.4.0 → 4.9.0 │
│ Run npm i react-devtools to update │
│ │
╰────────────────────────────────────────╯
I appreciate the goal of this message. Ho
The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.
A book series on JavaScript. @YDKJS on twitter.
JavaScript Style Guide
In the German translation of electron/docs/tutorial/quick-start.md, the command node -v was incorrectly translated as knode -v.
Promise based HTTP client for the browser and node.js
In AbortController/AbortSignal it is possible to construct an AbortSignal without a controller (but shouldn't be):
> var c = new AbortController();
> new c.signal.constructor()
AbortSignal { aborted: false }Correct behavior:
> var c = new AbortController();
new c.signal.constructor()
TypeError: Illegal ConstructorThis should be a relatively simple fix b
A secure JavaScript and TypeScript runtime
TypeScript Version: 4.1.0-beta
Search Terms: string.replace
Code
const str ='apple apple';
console.log(str.replace('apple','oranges'));Expected behavior: It should replace all occurrences of 'apple'
Actual behavior: It is replacing only the first occurrence of 'apple'.
Either correct the IntelliSense doc or fix the replace function. Please find t
Short JavaScript code snippets for all your development needs
JavaScript 3D library.
'View the source on Github' links not working in AppBar Documentation
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.
Is your feature request related to a problem? Please describe
In my component's props TS interface, I can use JSDoc comments to set the description, and can even use the @default tag to describe the default value
However, nothing happens when I use the @deprecated tag.
Describe the solution you'd like
Some ideas:
Simple HTML5 Charts using the <canvas> tag
Fast, unopinionated, minimalist web framework for node.
A Vue.js 2.0 UI Toolkit for Web
A professional front-end template for building fast, robust, and adaptable web apps or sites.
A modern JavaScript utility library delivering modularity, performance, & extras.
A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
I encountered this on the upgrade to 1.11. My project has some broken symlinks in mode_modules/.bin (presumably legacy cruft). They didn't bother meteor pre-1.11, but now cause isobuild to crash with a tremendously cryptic error:
=> Started proxy.
/home/xxx/.meteor/packages/static-html/.1.2.2.1httr42.mghq++os+web.browser+web.cordova/plugin.compileStaticHtmlBatch.os/npm/node_modules/meteor/p
Created by Brendan Eich
Released December 4, 1995
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