I've started adding some example ones over here. I know it's pretty crude (those regexs are pretty horrible! :p). Just wanted to gauge peoples responses before I start adding more to all the other exercises and cleaning everything up.
Eg.
$ cat a.js
var pizza = 'pizza is alright';
pizza.replace("alright", "wonderful");
console.log(pizza);
$ javascripting verify a.js
Nearly there! The replace function returns a new string, so make sure you assign the result to a variable!
-------------------
# O-oh, something isn't working.
But don't panic!
-------------------
Need help? Ask a question at: github.com/nodeschool/discussions/issues
I've started adding some example ones over here. I know it's pretty crude (those regexs are pretty horrible! :p). Just wanted to gauge peoples responses before I start adding more to all the other exercises and cleaning everything up.
Eg.