We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca0ff97 commit 6fb4f8eCopy full SHA for 6fb4f8e
README.md
@@ -2852,6 +2852,14 @@ Other Style Guides
2852
&& jsonData.foo.bar.baz.quux
2853
&& jsonData.foo.bar.baz.quux.xyzzy;
2854
2855
+ // better
2856
+ const foo = jsonData
2857
+ ?.foo
2858
+ ?.bar
2859
+ ?.baz
2860
+ ?.quux
2861
+ ?.xyzzy;
2862
+
2863
// good
2864
$.ajax({
2865
method: 'POST',
0 commit comments