Skip to content

Support RegExp type #28

Closed
Closed
@zendive

Description

@zendive

Version: 3.0.6

Currently, RegExp type properties (in the example as r) are not serialized in the way that can show the difference.

Example:

console.diff({a: 1, r: /test/}, {a: 2, r: /test/i});
{
  "a": [
    1,
    2
  ]
}

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions