Home  >  Q&A  >  body text

javascript - /a/[Symbol.match]('abc');Explain the syntax?

    'abc'.match(/a/);
    
    /a/[Symbol.match]('abc');

The above two sentences are equal. I hope I can help explain the syntax of the following sentence Symbol.match...

漂亮男人漂亮男人2728 days ago487

reply all(1)I'll reply

  • 世界只因有你

    世界只因有你2017-05-19 10:42:03

    Symbol

    reply
    0
  • Cancelreply