Skip to content

Commit

Permalink
Update files/en-us/mdn/writing_guidelines/howto/write_an_api_referenc…
Browse files Browse the repository at this point in the history
…e/information_contained_in_a_webidl_file/index.md
  • Loading branch information
teoli2003 authored Jan 10, 2024
1 parent 63d425e commit 20f91aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ The type of the property may be prefixed with an _extended attribute_, a string

Add the following sentence to the end of the _Value_ section of the article:

_When set to the `null` value, that `null` value is converted to the empty string (`""`), unlike the common behavior with strings (that would have converted it to the `"null"` string): `elt.innerHTML = null` is equivalent to `elt.innerHTML = ""`._
_When set to the `null` value, that `null` value is converted to the empty string (`""`), so `elt.innerHTML = null` is equivalent to `elt.innerHTML = ""`._

The small inline example has to be adapted for each property.

Expand Down

0 comments on commit 20f91aa

Please sign in to comment.