A2Z W3 Class Notes

Some javascript functions take regex

paragraph.match(/quick/g);

replace() + regex + callback: https://github.com/shiffman/A2Z-F18/blob/master/week2-regex/08_replace_with_callback/sketch.js

 

fetch(url)
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error(error))

 

CORS workaround: cors anywhere https://github.com/Rob–W/cors-anywhere

Posted in A2Z

Leave a Reply

Your email address will not be published. Required fields are marked *