We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bd241e commit 120d756Copy full SHA for 120d756
benchmark/zlib/creation.js
@@ -12,7 +12,7 @@ const bench = common.createBenchmark(main, {
12
13
function main(conf) {
14
const n = +conf.n;
15
- const fn = zlib['create' + conf.type];
+ const fn = zlib[`create${conf.type}`];
16
if (typeof fn !== 'function')
17
throw new Error('Invalid zlib type');
18
var i = 0;
0 commit comments