Some can take a frost. It's strain dependent. At the end of the saeson, they are finishing their life cycle and dying anyway.
Indoors it's a whole different ball game. Don't let temps drop below 60'F for extended time unless you are within just a week or 2 of harvest and trying to get your plants purple.