We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8bc001 commit fbcbc63Copy full SHA for fbcbc63
3 files changed
unit-testing/chapter-examples/hello-jest/hello.js
@@ -1,8 +1,7 @@
1
function hello(name) {
2
- if (name === undefined)
3
- name = "World";
+ if (name === undefined) name = "World";
4
5
- return "Hello, " + name + "!";
+ return "Hello, " + name + "!";
6
}
7
8
-module.exports = hello;
+module.exports = hello;
0 commit comments