mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 00:28:25 -05:00
Remove ; from function endings
This commit is contained in:
@@ -1022,14 +1022,14 @@
|
||||
// bad
|
||||
var OBJEcttsssss = {};
|
||||
var this_is_my_object = {};
|
||||
function c() {};
|
||||
function c() {}
|
||||
var u = new user({
|
||||
name: 'Bob Parr'
|
||||
});
|
||||
|
||||
// good
|
||||
var thisIsMyObject = {};
|
||||
function thisIsMyFunction() {};
|
||||
function thisIsMyFunction() {}
|
||||
var user = new User({
|
||||
name: 'Bob Parr'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user