Javascript
How do you construct a JavaScript function to locate and return the previous sibling of a DOM element?
Was asked at
More interviews, more skills, more success.
Be the first to share your approach to this question
Interview question asked to Frontend Engineers interviewing at Slack, Atlassian, Xiaomi and others: How do you construct a JavaScript function to locate and return the previous sibling of a DOM element?.