JS Built-ins
TextEncoderbeginner

TextEncoder β€” instanceof check

πŸ“– Usage Example
new TextEncoder() instanceof TextEncoder  // β†’ true

TextEncoder instances can be checked with instanceof.

TextEncoder instanceof

new TextEncoder() instanceof TextEncoder is true.

Challenge: Verify the instanceof check.

πŸ’‘ Hints (1)
  • β€’ TextEncoder is a constructor function.