fix up test styling and add use-strict declarator
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
var obj = {
|
||||
method() {
|
||||
return 5 + 5;
|
||||
return 5 + 5;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
var obj = {
|
||||
method: function () {
|
||||
method: function() {
|
||||
return 5 + 5;
|
||||
}
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user