binding: Simplify v8DateOrNaN().
isfinite() check is unnecessary here because -Infinity and +Infinity will be converted to NaN in i::JSDate::New(), which is called by v8::Date::New. This CL has no behavior changes. Review-Url: https://codereview.chromium.org/2602723002 Cr-Commit-Position: refs/heads/master@{#440745}
Showing
Please register or sign in to comment