Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Changes
Page history
bouraine created page: Debuter avec Git
authored
Nov 13, 2016
by
Bouraine
Show whitespace changes
Inline
Side-by-side
les-dessous-de-javascript.md
View page @
542e861e
...
...
@@ -93,7 +93,7 @@ Une variable n'aura jamais de valeur null si elle n'a pas été assignée explic
[
Pour plus d'informations
](
http://stackoverflow.com/questions/2235622/can-i-set-variables-to-undefined-or-pass-undefined-as-an-argument
)
### Tester qu'une variable n'est ni `undefined`, ni `null ` :golfer:
La manière la plus sûr de faire ce test est :
La manière la plus sûr
e
de faire ce test est :
```
if (typeof(value) !== "undefined" && value !==null){
...
...
...
...