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 270,523 public repositories matching this topic...

kt3k
kt3k commented Dec 16, 2021

In Node.js, all native modules are available as global variables in REPL:

$ node
Welcome to Node.js v16.9.1.
Type ".help" for more information.
> util
{
  _errnoException: [Function: __node_internal_errnoException],
  _exceptionWithHostPort: [Function: __node_internal_exceptionWithHostPort],
  _extend: [Function: _extend],
  callbackify: [Function: callbackify],
  ...
sandersn
sandersn commented Dec 9, 2021

ES imports and exports can only be used at the top level of a module. This is illegal:

function container() {
  import 'fs'
  export { container }
  namespace N { }
}

The current error for these three statements are vague and, for JS, contain irrelevant terms:

Actual:

(1) "An import declaration can only be used in a namespace or module."
(2) "An export declaration can

material-ui
apokusin
apokusin commented Nov 30, 2021

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 😯

The text inside of a button with size="small" is not centered vertically. This is especially obvious when used with an icon or a contained/outlined button.

Expected behavior 🤔

The text inside of a button with size="small" is centered vertically.

storybook
idesigncode
idesigncode commented Nov 24, 2021

Describe the bug
In Firefox, the zoom feature uses transform styles (see storybookjs/storybook#12845) - unfortunately this breaks positioning on elements that require position: fixed when in the "Docs" view.

Normally a position: fixed element's position would correspond to the viewport but in Firefox it corresponds to the element with the transform style.

Corfucinas
Corfucinas commented Feb 16, 2021

Description

Since we have Kotlin tutorials for available, why not include Flutter?

Why

We should allow this option when considering mobile development.

Possible Implementation & Open Questions

Similar to other sections formats, add sources and links for people to study.

Is this something you're interested in working on?

  • YES
  • NO

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

Created by Brendan Eich

Released December 4, 1995

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

Related Topics

nodejs