added newlines after each function

This commit is contained in:
Thomas Shafer
2015-12-17 11:18:36 -08:00
parent f7971301b0
commit a533a4fb93

View File

@@ -640,9 +640,11 @@ Other Style Guides
function f1(a) {
a = 1;
}
function f2(a) {
if (!a) { a = 1; }
}
function f3(obj) {
obj.key = 1;
};
@@ -651,8 +653,10 @@ Other Style Guides
function f4(a) {
const b = a || 1;
}
function f5(a = 1) {
}
function f6(obj) {
const key = Object.prototype.hasOwnProperty.call(obj, 'key') ? obj.key : 1;
};