This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Call methods conditionally with obj.method?.() to prevent errors when the method doesn't exist.
You've completed the free preview. Subscribe to unlock every lesson in every course.