When the source of an iframe is:
javascript:\'\';
as in:
To the best of my knowledge the src attribute maps to the iframe elements location.href. So setting src to javascript:''; is a bit nonsensical and the browser will do one of two things:
Either way you accomplish very little. Is this code you inherited or are you trying to do something tricky with the iframe?