some junk code

Javascript code posted
created at 12 Sep 17:26

Edit | Back
1
2
3
4
5
6
7
function junk(element)
{
  var value = element.value;
  if (value == null || value == "") {
    element.remove();
  }
}
127 Bytes in 2 ms with coderay