@@ -465,6 +465,9 @@ An alias of [`assert.ok()`][].
465465<!--  YAML
466466added: v0.1.21 
467467changes: 
468+   - version: REPLACEME 
469+     pr-url: https://github.com/nodejs/node/pull/41020 
470+     description: Regular expressions lastIndex property is now compared as well. 
468471  - version: 
469472      - v16.0.0 
470473      - v14.18.0 
@@ -539,6 +542,8 @@ are also recursively evaluated by the following rules.
539542  objects.
540543*  [ ` Symbol ` ] [ ]  properties are not compared.
541544*  [ ` WeakMap ` ] [ ]  and [ ` WeakSet ` ] [ ]  comparison does not rely on their values.
545+ *  [ ` RegExp ` ] [ ]  lastIndex, flags and source are always compared, even if these
546+   are not enumerable properties.
542547
543548The following example does not throw an [ ` AssertionError ` ] [ ]  because the
544549primitives are considered equal by the [ Abstract Equality Comparison] [ ] 
@@ -642,6 +647,9 @@ parameter is an instance of an [`Error`][] then it will be thrown instead of the
642647<!--  YAML
643648added: v1.2.0 
644649changes: 
650+   - version: REPLACEME 
651+     pr-url: https://github.com/nodejs/node/pull/41020 
652+     description: Regular expressions lastIndex property is now compared as well. 
645653  - version: v9.0.0 
646654    pr-url: https://github.com/nodejs/node/pull/15169 
647655    description: Enumerable symbol properties are now compared. 
@@ -697,6 +705,8 @@ are recursively evaluated also by the following rules.
697705  reference.
698706*  [ ` WeakMap ` ] [ ]  and [ ` WeakSet ` ] [ ]  comparison does not rely on their values. See
699707  below for further details.
708+ *  [ ` RegExp ` ] [ ]  lastIndex, flags and source are always compared, even if these
709+   are not enumerable properties.
700710
701711``` mjs 
702712import  assert  from  ' assert/strict'  ;
0 commit comments