The parse() static method of the CSSNumericValue interface converts a value string into an object whose members are value and the units.
parse()
MDN Reference
The
parse()static method of the CSSNumericValue interface converts a value string into an object whose members are value and the units.MDN Reference