Skip to content

Commit 917a6af

Browse files
Merge pull request #132 from BrandonShutter/patch-2
Update rpc_server.js
2 parents d955055 + 50b68f7 commit 917a6af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: javascript-nodejs/src/rpc_server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ amqp.connect('amqp://localhost', function(err, conn) {
2626
});
2727

2828
function fibonacci(n) {
29-
if (n == 0 || n == 1)
29+
if (n === 0 || n === 1)
3030
return n;
3131
else
3232
return fibonacci(n - 1) + fibonacci(n - 2);

0 commit comments

Comments
 (0)