Smell of weed

Hi. We're visiting some friends and they smoke weed in the basement with the door closed. However I can smell the smell when they smoke. Can this have any effect on me or little one? They are in the basement and we are upstairs.