提交 08a37774 编写于 作者: U unknown

more ES5

上级 777d2e55
......@@ -44,7 +44,7 @@ define([], function () {
started = Date.now();
}
if (_starts.has(name)) {
throw new Error(`${name} already exists`);
throw new Error("${name}" + " already exists");
}
_starts.set(name, { name, started });
const stop = stopTimer.bind(undefined, name);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册