Created: 2017 December 1st
Updated: 2020 July 27th
Edit a web page, set the design mode to on.
Tom is left out of the new array party, sorry Tom
.reverse() will mutate the original array so it’s a good idea to
make a new array.
.reverse() method for arrays, so if you split your sting
into an array then you’ll be able to reverse it.
Return one new entry for every existing entry:
Return a new array with only some of the existing entries:
Return one new thing only:
Use a regular expression:
Closures are the ability for a child function (or inner function) to access variables from a higher level scope even after the functions have been called (closed or closed over).
The running of a function within a function:
Use a mock endpoint to test against for auth forms.
Need to quickly grab a load of images from a page?
If you’re looking for where this is happening, in console you can use:
Shorten a string! Define the start and the end of the string you want to return:
Classic FizzBuzz loop.
Want to change the font size on a page? Here you can target the while
document, but could change