JavaScript Taskbook Level 2.3

Задание 1

Given two words, check that the last letter of the first word matches the first letter of the second word.

Задание 2

Given a string, find the position of the third zero in the string.

Задание 3

The numbers are given, separated by commas:

javascript'12,34,56'

Find the sum of these numbers.

Задание 4

The date is given in the following format:

javascript'2025-12-31'

Convert this date to the following object:

javascript{
  year: '2025',
  month: '12',
  day: '31',
}