JS Built-ins
cryptobeginner

crypto β€” randomUUID returns a string

πŸ“– Usage Example
crypto.randomUUID()  // β†’ e.g. '550e8400-e29b-41d4-a716-446655440000'

crypto.randomUUID() generates a cryptographically secure random UUID v4 string.

crypto.randomUUID()

crypto.randomUUID() generates a random UUID (Universally Unique Identifier) in string format.

Challenge: Verify that crypto.randomUUID() returns a string.

πŸ’‘ Hints (1)
  • β€’ UUIDs are formatted as text strings