fix up test styling and add use-strict declarator
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
var arr = (function () {
|
||||
"use strict";
|
||||
|
||||
var arr = function() {
|
||||
var _arr = [];
|
||||
|
||||
"abcdefgh".split("").forEach(function (x) {
|
||||
"12345678".split("").forEach(function (y) {
|
||||
"abcdefgh".split("").forEach(function(x) {
|
||||
"12345678".split("").forEach(function(y) {
|
||||
_arr.push(x + y);
|
||||
});
|
||||
});
|
||||
|
||||
return _arr;
|
||||
})();
|
||||
}();
|
||||
Reference in New Issue
Block a user