diff --git a/lib/sinon/stub-non-function-property.js b/lib/sinon/stub-non-function-property.js index ae534ccf1..1ea184ae5 100644 --- a/lib/sinon/stub-non-function-property.js +++ b/lib/sinon/stub-non-function-property.js @@ -13,7 +13,7 @@ function stubNonFunctionProperty(object, property, value) { object[property] = value; return { - restore: function () { + restore: function restore() { object[property] = original; } };