[for (x of nums) x * x];
[for (x of nums) if (x > 2) x * x];
[for (nums of nums2) for (x of nums) x * x];
[for (nums of nums2) for (x of nums) if (x > 2) x * x];

(for (x of nums) x * x);
(for (x of nums) if (x > 2) x * x);
(for (nums of nums2) for (x of nums) x * x);
(for (nums of nums2) for (x of nums) if (x > 2) x * x);
