JS Built-ins
GlobalFunctionsdecodeURIComponentbeginner

decodeURIComponent β€” returns a string

πŸ“– Usage Example
typeof decodeURIComponent('test')   // β†’ 'string'

decodeURIComponent() always returns a string.

decodeURIComponent typeof

typeof decodeURIComponent('test') is 'string'.

Challenge: Verify the type.

πŸ’‘ Hints (1)
  • β€’ decodeURIComponent always returns a string.