mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-09 23:48:31 +08:00
%f was refused because parseFloat had no static lowering; the global parseFloat lowers now. Node formats parseFloat(String(arg)): a number keeps its value except -0 (String prints "0"), a string parses with the global parseFloat, a checked-dynamic value converts with String first, and booleans, undefined and null format as NaN. Other argument types are refused with their type named.