Skip to content

Node.cloneNode(): Add default value to deep option as per spec. - #45057

Merged
wbamberg merged 1 commit into
mdn:mainfrom
benhatsor:patch-1
Aug 8, 2026
Merged

Node.cloneNode(): Add default value to deep option as per spec.#45057
wbamberg merged 1 commit into
mdn:mainfrom
benhatsor:patch-1

Conversation

@benhatsor

Copy link
Copy Markdown
Contributor

Description

This PR adds the default value of the deep option to the article as per the spec.

Motivation

The default value of the function is important and brings the article in line with most other JS articles, eg. DOMImplementation.createDocument().

Additional details

Source spec for the property

Related issues and pull requests

N/A

@benhatsor
benhatsor requested a review from a team as a code owner August 8, 2026 18:44
@benhatsor
benhatsor requested review from wbamberg and removed request for a team August 8, 2026 18:44
@github-actions github-actions Bot added Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed labels Aug 8, 2026
@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Preview URLs (1 page)

@wbamberg wbamberg left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 thank you!

@wbamberg
wbamberg merged commit 11ec5c2 into mdn:main Aug 8, 2026
8 checks passed
@benhatsor
benhatsor deleted the patch-1 branch August 8, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants