const enc = new TextEncoder()
typeof enc // β 'object'TextEncoder is a constructor that produces objects, not a plain function.
ASCII characters map 1-to-1 in UTF-8. encode('A') returns a Uint8Array of length 1.
Challenge: Verify that encoding 'A' yields a 1-byte array.