Linking here again: github.com/MishManners/Twilio-Ques... We just did what the course told us to do. And yes, there were 30 different people arguing over how to best do it. This is what I love about live coding!
const firstValue = process.argv[2].toLowerCase(); const secondValue = process.argv[3].toLowerCase(); if (firstValue < secondValue) { console.log(-1); } else if (firstValue > secondValue) { console.log(1); } else { console.log(0); }
Thanks for this. Will check it out
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Linking here again: github.com/MishManners/Twilio-Ques...
We just did what the course told us to do. And yes, there were 30 different people arguing over how to best do it. This is what I love about live coding!
Thanks for this. Will check it out