r/javascript • • Oct 24 '17

VS Code Switching Back to Blue Icon After Community Complaints

Thumbnail
code.visualstudio.com
487 Upvotes

r/javascript • • Jun 19 '19

GitHub - lydiahallie/javascript-questions: A long list of (advanced) JavaScript questions, and their explanations Updated weekly!

Thumbnail
github.com
485 Upvotes

r/javascript • • Oct 18 '16

`npm install yarn` like getting your ex-GF to move your new GF’s stuff into your house

Thumbnail
twitter.com
485 Upvotes

r/javascript • • Jul 10 '20

Developer Handbook 2020 - was created to cover the most common technical questions and requirements appearing prior to job interviews, during onboarding or personal goals / career planning at our company Apptension.

Thumbnail
github.com
484 Upvotes

r/javascript • • Jan 22 '19

NPM visualised

Thumbnail
anvaka.github.io
484 Upvotes

r/javascript • • May 07 '18

MS brings JavaScript to Excel

Thumbnail
dev.office.com
484 Upvotes

r/javascript • • Apr 02 '21

[RFC] Vue 3 won't support IE11

Thumbnail
github.com
483 Upvotes

r/javascript • • Dec 19 '16

~15 years trying to make everyone separate HTML, JS & CSS. And then suddenly everything went south and we’re writing code like this.

Thumbnail
twitter.com
483 Upvotes

r/javascript • • Jun 20 '16

Javascript developers, be warned about this crazy JIT bug in V8!

482 Upvotes

Last week I've spent a full day to fix very strange behavior in a single page application for my customer that only happens on Chrome 51 (maybe 52, but not in Canary 53).

After a while our SPA started behaving incorrectly...

It turned out to be a nasty bug in the V8 JIT engine.

Try the following in Chrome's developer console:

function foo() {
  return typeof null === "undefined";
}

for(var i=0; i<10000; ++i) console.log(foo())

This should of course always print false, but in Chrome 51, it prints true after about about 100 iterations (it varies...)

I want to warn other web-developers for this bug, to avoid many $$$ being wasted (or becoming insane ;-))

Β 

EDIT: The following - more realistic case that we had in third-party library code - will also fail, but after about 10 thousand iterations:

function isUndefined(thing){
    return typeof thing === "undefined";
}

for(var i=0; i<100000; i++) console.log(isUndefined(null));

Β 

EDIT: The bug also manifests itself with the more common pattern

typeof x !== "undefined"

UPDATE: I just tried this with the latest stable Chrome (52.0.2743.82), and it now works correctly :)


r/javascript • • Aug 11 '15

Netflix.com Adopts Universal JavaScript, Drops Java From Rendering Pipeline

Thumbnail
infoq.com
482 Upvotes

r/javascript • • Dec 14 '22

JavaScript is the Most Demanded Programming Language in 2022, 1 out of 3 dev jobs require JavaScript knowledge.

Thumbnail
devjobsscanner.com
481 Upvotes

r/javascript • • Jul 26 '21

I just ran `npm i - otherpackage` by accident. Turns out "-" is a real but practically empty package with 13k weekly downloads.

Thumbnail
npmjs.com
481 Upvotes

r/javascript • • Feb 01 '19

Google Play Store now open for Progressive Web Apps 😱

Thumbnail
medium.com
479 Upvotes

r/javascript • • Oct 31 '17

You Give REST a Bad Name

Thumbnail
youtube.com
479 Upvotes

r/javascript • • Apr 10 '23

React, Visualized

Thumbnail
react.gg
478 Upvotes

r/javascript • • Jul 31 '20

How I made my CV, based on Age of Empires game with Javascript

Thumbnail
dev.to
478 Upvotes

r/javascript • • Oct 11 '21

PoC: a free open-source tool for practicing JavaScript (other technologies coming soon)

Thumbnail
github.com
477 Upvotes

r/javascript • • Feb 13 '19

help I made a Music app in JavaScript that stores music in JSON which makes it really easy to add programmable music and sounds to your JavaScript app. I can help you with your project!

477 Upvotes

If you have a JavaScript game that you want to add sound and music too, I'd be happy to put my JavaScript app to the test and create the sound and music for you. Implementation is super easy:

When the game is loading:

 <script src="https://openmusic.gallery/omg.js"></script>

 game.music = new OMusicPlayer()
 game.music.prepareSongFromURL("http://openmusic.gallery/data/1333")
 game.laserSound = game.music.getSound("SFX", "laser")

When the game starts:

 game.music.play()

Increase BPM and key when difficulty increases:

 game.music.beatParams.bpm += 20

 game.music.keyParams.rootNote++
 game.music.rescaleSong()

When the laser is fired:

 game.laserSound.play()

When the game ends:

 game.music.stop()

Example of how it's done

https://www.youtube.com/watch?v=TXpPFBkpXp0

If you have a JS game, send me the link and an explanation of what kind of sound and music you want, and I'll do my best to help!

edit add relevant links

github

https://github.com/mikehelland/openmusic.gallery

the tool

https://openmusic.gallery/gauntlet


r/javascript • • Dec 08 '16

Safari supports 100% of the ES2015, ES2016 and ES2017 features. First browser to support all of them.

Thumbnail
kangax.github.io
476 Upvotes

r/javascript • • Mar 15 '18

Building a neural network in JS even if you don’t really understand neural networks

Thumbnail
medium.com
474 Upvotes

r/javascript • • Sep 04 '16

Boycott Nodevember

474 Upvotes

And if you already have filed for a refund, please say so here. Intolerance shouldn't be tolerated, especially one that is founded on fabricated lies, and ridiculously sensitive standards of judgement.


r/javascript • • Dec 28 '16

What to learn in 2017 if you’re a frontend developer

Thumbnail
medium.com
473 Upvotes

r/javascript • • Aug 10 '20

How I became a senior javascript developer with personal projects

Thumbnail
dev.to
471 Upvotes

r/javascript • • Mar 30 '18

TensorFlow.js

Thumbnail
js.tensorflow.org
471 Upvotes