parse

The parse() static method of the members are value and the units.

MDN Reference