Click in order · JavaScript and TypeScript course · Module 2: Functions, Arrays and Objects

includes() Method - Syntax

Arrange a call that checks whether dnaSequence contains the fragment 'ACGT':

Items to click

  • )
  • 'ACGT'
  • .includes
  • dnaSequence
  • (
Show the answer

Correct order:

  1. dnaSequence
  2. .includes
  3. (
  4. 'ACGT'
  5. )