How to get the value of the "background-image" property and save to a variable

It would be interesting to see if this is possible.

With JavaScript (e.g. executeScript) but without jQuery!