| js-snippetsThis is an extension meant to give you some awesome JS snippets
 FeaturesA collection of JS snippets The following commands are available: 
js-log, prints console.log()js-log-err, prints console.error()js-log-warn, prints console.warn(),js-log-info, prints console.info()js-elif, prints if, elsejs-eliff, prints if, else-if, elsejs-tcf, prints try, catch, finallyjs-scd, prints switch, case, defaultjs-arr-filter, creates an array and callsfilter()js-arr-reduce, creates an array and callsreduce()js-arr-contains, creates an array and callssome()js-arr-all, creates an array and callsevery(),js-dest-array, creates an array and applies destructuring on itjs-dest-object, creates an object and applies destrucring on itjs-dest-param, creates a function and passes a parameter that we apply
destructuring tojs-promise-create, creates a Promise by instantiating itjs-promise-shorthand, uses the static resolve/reject, good for unit testsjs-promise-all, uses the static all(), allows us to have a list of Promises finish at the same timejs-async-await, demonstrates async/awaitjs-regex-test-digits, demonstrates string methodtest()that takes a regular expression and return true/false if string is number.js-regex-test-word, demonstrates string methodtest()that takes a regular expression and returns  true/false if string is word.js-regex-match, demonstrates RegEx match, that.js-regex-match-named-group, demonstrates RegEx match and use a so called named group.js-rest, shows the ES6 features REST.js-rest-function, shows the REST feature when used in a function.js-property-shorthand, shows how you can type less when declaring properties in an object.js-computed-props, shows computed properties in an object. Release NotesThis is the release notes. 1.0.0Added video to showcase usage 0.0.6added promises and async/await 0.0.6Changed array commands so you find the under js-arr-*. Added destructuringsnippets, read more on it here [Destructuring(https://developer.mozillaorg/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment) 0.0.5adding repo and image, renaming all commands to js-something to make it easier to find them 0.0.4minor corrections 0.0.3
added try, catch, finallyadded switch, case, defaultadded array methods filter(),reduce(),some()andall 0.0.2added if, else, better docs 0.0.1some log functions for now PublisherChris Noring
@chris_noring |  |