Skip to content

Commit a3ccaca

Browse files
authored
Added spacing
1 parent 3249f63 commit a3ccaca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/0144-binary-tree-preorder-traversal.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
var preorderTraversal = function(root) {
1717

1818
const dfs = (node, pre) => {
19-
if(!node) return pre;
19+
if (!node) return pre;
2020
pre.push(node.val);
2121
dfs(node.left, pre);
2222
dfs(node.right, pre);

0 commit comments

Comments
 (0)