Recently, when I was studying JavaScript and Java as a domain chain that contains global information, I recorded common global attributes and methods. This is the accumulation of knowledge, not all of which are listed, for details, refer to the API documentation related to JS.
Common global attributes:
Global attribute function
Infinity indicates the positive Infinity value.
NaN non-numeric value
Undefined Value
Common global methods:
Role of the Global Method
EncodeURI () returns a copy of the parameter. Some characters are replaced by the hexadecimal escape sequence. We recommend that you use encodeURIComponent ()
EncodeURIComponent () returns a copy of the parameter. Some characters are replaced by hexadecimal escape sequences.
DecodeURI () decodes the string escaped by encodeURI ()
DecodeURIComponent () decodes the string escaped by encodeURIComponent ()
Escape () uses escape sequences to replace certain characters for string encoding.
Unescape () decoding of strings encoded with escape ()
Eval () calculates the Javascript code string and returns the result.
IsFinite () checks whether a value is an infinite number.
IsNaN () checks whether a value is a non-numeric value.
ParseInt () parses an integer from a string
ParseFloat () parses a decimal number from the string