The document contains a list of years, but some of them are repeated.
We need to write a script that leaves only unique elements by removing duplicates.
The order of the items in the list must be preserved.
Use the internal script.

This task is part of the Full-Stack JavaScript Course
If you have any issues with it, you can ask for community help below the post
Feel free to help others if you’ve already solved the task


<!DOCTYPE html>