atom-javascript-snippets icon indicating copy to clipboard operation
atom-javascript-snippets copied to clipboard

JavaScript & NodeJS Snippets for Atom Editor

Results 4 atom-javascript-snippets issues
Sort by recently updated
recently updated
newest added

# Loops ----- > 'For Loop Of': [forof] = """for (let ${1:i} of ${2:array}) { if (${1:i}) }""" # Array methods ---- > 'Array Map': [map] = '${1:array}.map( $2e =>...

current ``` [ita] it asynchronous it('${1:description}', function(done) { ${0:// body...} }); [its] it synchronous it('${1:description}', function() { ${0:// body...} }); [itp] it pending it('${1:description}'); ``` suggest `it` => synchronous style...

This is the most common approach, as demonstrated below: http://crockford.com/javascript/code.html https://google.github.io/styleguide/jsguide.html#features-functions https://contribute.jquery.org/style-guide/js/#good-examples https://github.com/felixge/node-style-guide#write-small-functions https://github.com/airbnb/javascript#functions Whilst not directly referenced in 5/6 (apart from Crockford's), the approach is applied regardless. This is...