Goal: To trim the edges of a wooden board, you can

Which of the following methods is more reasonable for accomplishing this goal?
Use a router to trim the edges