Implement a method getElementsByStyle() that finds DOM elements that are rendered by the browser using the specified style. It is similar to Element.getElementsByClassName() but with some differences:
It is a pure function that takes an element, a property string, and a value string representing the style property/value pair to match on the element's descendants. For example, getElementsByStyle(document.body, 'font-size', '12px').
Similar to Element.getElementsByClassName(), only descendants of the element argument are searched, not the element itself.
Returns an array of Elements instead of an HTMLCollection of Elements.
Do not use document.querySelectorAll(), which would make the problem trivial. You will not be allowed to use it during real interviews.