THRIFT-3627 fix missing basic code style consistency of JavaScript.
Client: js
This closes #858
This closes #1243
diff --git a/lib/js/test/test_handler.js b/lib/js/test/test_handler.js
index e1fa74f..496b5e0 100644
--- a/lib/js/test/test_handler.js
+++ b/lib/js/test/test_handler.js
@@ -17,7 +17,7 @@
* under the License.
*/
-//This is the server side Node test handler for the standard
+//This is the server side Node test handler for the standard
// Apache Thrift test service.
var ttypes = require('./gen-nodejs/ThriftTest_types');
@@ -162,7 +162,7 @@
result(null, hello);
},
testException: function(arg, result) {
- console.log('testException('+arg+')');
+ console.log('testException(' + arg + ')');
if (arg === 'Xception') {
var x = new ttypes.Xception();
x.errorCode = 1001;