Closed magic-akari closed 4 years ago
Summary
What kind of change does this PR introduce? (check at least one)
The PR fulfills these requirements:
fix #xxx[,#xxx]
You have tested in the following platforms:
Providing a reproduction demo will be better(you can pick a platform below and fork the demo):
To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.
Other information:
Why Nullable:
document.querySelector() or document.getElementById() return Nullable result.
document.querySelector()
document.getElementById()
Writing lock(document.querySelector('.target')) is more concise than writing lock(document.querySelector('.target') || undefined)
lock(document.querySelector('.target'))
lock(document.querySelector('.target') || undefined)
LGTM
@all-contributors add @magic-akari for bug
@BuptStEve
I've put up a pull request to add @magic-akari! :tada:
Summary
What kind of change does this PR introduce? (check at least one)
The PR fulfills these requirements:
fix #xxx[,#xxx]
, where "xxx" is the issue number)You have tested in the following platforms:
Providing a reproduction demo will be better(you can pick a platform below and fork the demo):
To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.
Other information:
Why Nullable:
document.querySelector()
ordocument.getElementById()
return Nullable result.Writing
lock(document.querySelector('.target'))
is more concise than writinglock(document.querySelector('.target') || undefined)