This particular error seems to be quite common in the world of javascript development.
When trying to read the property join of undefined, an error occurs.
What is considered to be the most effective method for resolving this issue?
Here are a few techniques that I have personally found useful:
Initialization
question.tags = question.tags || [];
console.log(question.tags.join(', ');
Using If Statements
if(question.tags) {
console.log(question.tags.join(', ');
}