File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ function x(name, attributes) {
32
32
for ( attribute in attributes ) {
33
33
value = attributes [ attribute ]
34
34
35
- // Ignore nully and NaN values.
35
+ // Ignore nullish and NaN values.
36
36
if ( value !== null && value !== undefined && value === value ) {
37
37
attrs [ attribute ] = String ( value )
38
38
}
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ Case sensitive and can contain a namespace prefix (such as `rdf:RDF`).
156
156
###### ` attributes `
157
157
158
158
Map of attributes (` Object.<*> ` , optional).
159
- Nully (` null ` or ` undefined ` ) or ` NaN ` values are ignored, other values are
159
+ Nullish (` null ` or ` undefined ` ) or ` NaN ` values are ignored, other values are
160
160
turned to strings.
161
161
162
162
Cannot be omitted if ` children ` is a ` Node ` .
You can’t perform that action at this time.
0 commit comments