mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-23 06:10:02 +08:00
* Expand static three.js workflows and host integration * Preserve JavaScript class state in static three.js workflows * Preserve inferred JavaScript behavior across static workflows * Preserve inferred callables and native compatibility boundaries * Retain annotated JavaScript factory exports and bootstrap-safe call spreads * Preserve Buffer and child callback identities in static packages * Clarify JavaScript symbol spread support
6 lines
119 B
TypeScript
6 lines
119 B
TypeScript
import ms from "ms";
|
|
|
|
console.log(ms("not a duration"));
|
|
console.log(ms("1".repeat(101)));
|
|
console.log(ms("2 hours"));
|