- General Assembly ~ https://dash.generalassemb.ly/
- Launch School ~ https://launchschool.com/
- Thinkful ~ https://www.thinkful.com/
This file contains hidden or 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 emailRegEx = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; |
This file contains hidden or 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
//*********** Array.prototype.map()**********************// | |
//executes a callback function on each element of the given array and RETURNS A NEW ARRAY | |
//.map() DOES create a new array. | |
const array1 = [1, 4, 9, 16]; | |
// pass a function to map | |
const map1 = array1.map(x => x * 2); | |
console.log(map1); |
This file contains hidden or 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 addNumbers(a,b) => return num + a + b; | |
//Pure functions def: A function which returns the exact same result every time, when given the exact same arguments. | |
//I.e. a function is NOT pure when the same arguments might give different outputs (i.e. imagine making API calls | |
//and getting 'num' from above through an API call, which in turn means the num value might be different, since | |
//the data fetched from the API might be different. |
- Text Content Generator - http://www.lipsum.com
- Favicon Generator - http://tools.dynamicdrive.com/favicon
- Data Generator - https://mockaroo.com/
- Mobile Mockup Generator - https://mockuphone.com
- Logo Generator - https://www.logaster.com
- UUID Generator - https://www.uuidgenerator.net/
- Hash Generator - https://passwordsgenerator.net/sha256-hash-generator/
- Ultimate Code Generator - https://webcode.tools/