r/javascript • u/brokentyro • Oct 24 '17
r/javascript • u/pmz • Jun 19 '19
GitHub - lydiahallie/javascript-questions: A long list of (advanced) JavaScript questions, and their explanations Updated weekly!
r/javascript • u/RevalGovender • Oct 18 '16
`npm install yarn` like getting your ex-GF to move your new GFβs stuff into your house
r/javascript • u/magenta_placenta • 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.
r/javascript • u/clickclickboo • 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.
r/javascript • u/ziriax • Jun 20 '16
Javascript developers, be warned about this crazy JIT bug in V8!
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 • u/endpointben • Aug 11 '15
Netflix.com Adopts Universal JavaScript, Drops Java From Rendering Pipeline
r/javascript • u/__dacia__ • Dec 14 '22
JavaScript is the Most Demanded Programming Language in 2022, 1 out of 3 dev jobs require JavaScript knowledge.
r/javascript • u/NeverMakesMistkes • Jul 26 '21
I just ran `npm i - otherpackage` by accident. Turns out "-" is a real but practically empty package with 13k weekly downloads.
r/javascript • u/wprzecho • Feb 01 '19
Google Play Store now open for Progressive Web Apps π±
r/javascript • u/vivirenremoto • Jul 31 '20
How I made my CV, based on Age of Empires game with Javascript
r/javascript • u/[deleted] • Oct 11 '21
PoC: a free open-source tool for practicing JavaScript (other technologies coming soon)
r/javascript • u/mobydikc • 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!
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
r/javascript • u/kasperpeulen • Dec 08 '16
Safari supports 100% of the ES2015, ES2016 and ES2017 features. First browser to support all of them.
r/javascript • u/kiarash-irandoust • Mar 15 '18
Building a neural network in JS even if you donβt really understand neural networks
r/javascript • u/[deleted] • Sep 04 '16
Boycott Nodevember
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 • u/solkimicreb • Dec 28 '16
What to learn in 2017 if youβre a frontend developer
r/javascript • u/afonsopacifer • Aug 10 '20
How I became a senior javascript developer with personal projects