-
From http://read.humanjavascript.com/ch03-code-for-humans.html
- Code is read more often than it's written.
- If you're too clever, you'll forever own the project because no one else will know what the heck you're doing. That will suck, and so will your project.
- As the requirements change and evolve (as they most certainly will), your ability to quickly read and understand the various pieces of your app will dramatically affect how quickly you can change course.
All of this is to say: WRITE CODE THAT IS EASY TO READ!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const TerserPlugin = require("terser-webpack-plugin"); | |
const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin'); | |
const path = require('path'); | |
module.exports = { | |
entry: './index.js', | |
mode: 'development', | |
optimization: { | |
minimize: false, | |
minimizer: [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var elems = document.querySelectorAll('.js-details-target'); | |
for( var i = 0; i < elems.length; i++ ) { | |
elems[i].click(); | |
} |
I hereby claim:
- I am codestryke on github.
- I am anandraman (https://keybase.io/anandraman) on keybase.
- I have a public key ASA86mxgPi2pITzV4qW-g3pIBEDaN_dDiuYfEoW-C-3sygo
To claim this, I am signing this object: