Do you have a save from before this error? The reason that these variables are NaN is because $corpValue is a negative number in your save, -1546777754 to be precise. But why it's negative in the first place is a mystery to me.
As an aside, continuing to the next week seems to un-NaN the variables. How this is happening is also a mystery to me.
Minor update: continuing to the next week will only un-NaN variables if you load the save or refresh the page. If you've done neither since taking the screenshot, the NaNs will remain.
Still totally clueless as to the reasons behind $corpValue being negative though. I'd suspect integer overflow, but JS doesn't handle that in a way that returns negative numbers.
My only idea is that $corpCash was the first to go negative, and by a huge amount. This caused $corpValue to go negative, and then cause the NaNs. Again though, I don't see any place $corpCash could go negative.
Unless you can provide instructions on how to repeat this error, or a save from shortly before the error, I say just ignore the issue and continue playing. After all, the variables seem to fix themselves (after a reload/refresh).
Okay I managed to repeat it by having the corp buy back 21,000 shares (which for some reason are WAY more expensive than 20,000 shares?). I think that made the cash go negative.