Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The parse()
method of the CSSNumericValue
interface converts a value string into an object whose members are value and the units.