[Solved] Why NaN is returned by a post-increment operator? [closed]


The way that the ++ “postfix” increment operator works involves first performing a conversion to number type. The value of that conversion is always the return value from the operation, even if that value is NaN.

solved Why NaN is returned by a post-increment operator? [closed]