As you all probably know
switch has been introduced in Summer'18 (API v43,0) release.
I have started using it in my apex class which is having API version 36,0 and somehow it works in my sandbox. I was assuming it wouldn't be available hence throw an error or something like that.
My question is, is that a reliable/intended behavior or should I switch to API version 43,0 before deploying to production just to be on the safe side?