A really easy to understand video. After reading the documentation on MDN, I thought that is something a little more complex than I thought but after watching your video it really cleared a lot of misconceptions for me. Thank you !
no need to take out the '=' from code .. cause if age=0 or les than 0 should say "mast be positive". Now that you took it off , if you give person.age = 0; is accepting it ...
A really easy to understand video. After reading the documentation on MDN, I thought that is something a little more complex than I thought but after watching your video it really cleared a lot of misconceptions for me. Thank you !
Good explanation with examples! Thank you!
What's the benefit over regular setter and getter methods?
no need to take out the '=' from code .. cause if age=0 or les than 0 should say "mast be positive". Now that you took it off , if you give person.age = 0; is accepting it ...
Michael Mavroforakis And so what?...Why a person can't have 0 years?
What happens when you return false?
many thanks