UNPKG

scancss

Version:

A robust CSS stylesheet statistics collector and analyzer

14 lines (13 loc) 306 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.mergeSpecificities = mergeSpecificities; function mergeSpecificities(...arrays) { return arrays.reduce((acc, array) => { acc[0] += array[0]; acc[1] += array[1]; acc[2] += array[2]; return acc; }, [0, 0, 0]); }