Great tips! Thanks. I would still be inclined to use e.key. It makes it clear that we are dealing with the event object, and also keeps the start of the arrow function simple and clean.
Good explained tips, and please I wish from all my heart to provide some tutorial that explain how to create the famous sudoku 9×9 with just vanilla javascript, A lot of people (including me) don't know how to code sudoku in javascript 🤦🏻♂️
7:52 This is not true. You cannot desctructure functions from a function argument. Just try it out: calling preventDefault() as you have done it here is an illegal invocation, as you cannot store a function that is part of an object in a variable and then call it.
Great tips! Thanks. I would still be inclined to use e.key. It makes it clear that we are dealing with the event object, and also keeps the start of the arrow function simple and clean.
Good explained tips, and please I wish from all my heart to provide some tutorial that explain how to create the famous sudoku 9×9 with just vanilla javascript, A lot of people (including me) don't know how to code sudoku in javascript 🤦🏻♂️
You can also use default values while de-structuring
const { PORT = 3000 } = process.env
// defaults to 3000 if process.env.PORT is undefined
7:52 This is not true. You cannot desctructure functions from a function argument. Just try it out: calling preventDefault() as you have done it here is an illegal invocation, as you cannot store a function that is part of an object in a variable and then call it.
true
Good pick up, thanks. It seems to work when calling a function yourself and passing in an object with a function on it, but not for events.
Superb explanation 👌👌👌
10:16 it's not a dollar sign, it's a question mark.
Thank you*🙂🙂🙂🙂🙂
? Is dollar sign?
Please make multi-step form validation tutorial 🙏 😔
In react?
Want react tutorial series with 10 plus react project
Dollar sign, dollar sign? 🤪
Lovely❤️
i think your dollarsign in reality might be a € sign!
Great tips.
You have just made a little slip of your tongue in the last one saying $$ instead of ??, right?
Wanna be better at JS? Write without variables, go functional)