`textStrokeStyleLineDash` [cannot be undefined](https://github.com/openlayers/ol3/blob/master/src/ol/style/strokestyle.js#L31) so I think the test should be `!goog.isNull(textStrokeStyleLineDash)`.