Write a showYear( ) method to show the object's year. code example Example: get year from date javascript document.write(new Date().getFullYear());