//#CLIENTSIDE
function onCreated() {
  // syntax error 1
  temp.a = {};
  temp.a = {1, 2, 3, 5, 9};
  //temp.a = {1, 2, 3,,, 5, 9,}; // invalid
  //temp.a = {,}; // invalid

  // syntax error 2
  temp.a = 1;
  if (temp.a == 0) {
      {
        echo("e");
      }

      echo("t");
  } else if (temp.a == 1) {
    echo("found");
  }

  // syntax error 3
  temp.a = 1;
  if (temp.a == 0) {
      {
      }

      echo("t");
  } else if (temp.a == 1) {
    echo("found");
  }

  // syntax error 4
  if (temp.a == 0) {
  } else if (temp.a == 1) {
    echo("found");
  }

  if (temp.a)
    if (temp.b)
      if (temp.c)
        temp.d = 0;
}