Files
30-seconds-of-code/test/getStyle/getStyle.js
2018-01-09 06:09:49 -05:00

1 line
66 B
JavaScript

module.exports = (el, ruleName) => getComputedStyle(el)[ruleName];