*
  Мысли   Галерея   Проекты   Тексты  
  Мысли   Галерея   Проекты   Тексты  
Giver: ну офигеть теперь  (2014-10-01 18:42:48)

Пишу тесты/демку к своему ресту, и тут вылетает эксепшон "Михаил != Юрий", я шоке, оказывается:

Rhino 1.7 release 2 2010 11 17
js> arr=[];

js> print(u);
js: "", line 3: uncaught JavaScript runtime exception: ReferenceError: "u" is not defined.
	at :3

js> (function() { for(var u in [0,1,2]) arr.push(function(e) { print(u); } ) })(); 
js> print(u);
js: "", line 7: uncaught JavaScript runtime exception: ReferenceError: "u" is not defined.
	at :7

js> for(var f in arr) arr[f](0);                                                   
2
2
2
js> 

Как они это сделали? Как и зачем?!


upd: Нашлось решение, оно не менее странное, чем сама проблема, но все же работает.

(function() { for(var u in [0,1,2]) with({u:u}) arr.push(function(e) { print(u); } ) })(); 
    

dobsonz от 2020-10-18 19:08:29:
BovmEa http://pills2sale.com/ levitra nizagara
Chuck от 2020-10-26 10:37:00:
Could I borrow your phone, please? dulcolax tablets during pregnancy And there's been speculation that though the team believes he can play, it's Gronkowski who's unwilling to dress out unless his forearm is completely healthy. He was asked by reporters if he would be playing if he was the only one making the decision.
Frank от 2020-10-26 10:37:01:
I'm in my first year at university ciprofloxacin drops Paul Gallagher, a tax partner at Ernst & Young Scotland, which wrote a report on the new regime, said the Scottish Government had spent a lot of time and effort looking at land taxes around the world in order to come up with the best system. "We would expect the Treasury and HMRC to be looking at it," he said.
Wesley от 2020-10-26 10:37:01:
Would you like to leave a message? maxifort zimax directions The company has previously said it is committed to operating at the highest environmental standard and expects to have the new water infrastructure in place by late 2014 and then restart mine construction at the project.
Mariano от 2020-10-26 10:37:02:
I'm interested in premarin tablet reviews Ford, the second-largest U.S. automaker, reported 400 problems with its MyFord Touch system for every 1,000 vehicles in November 2012. The company previously said it aims to lower that number to 360 by August.
Nathanael от 2020-10-26 10:37:03:
I'd like to open an account can you get high from motrin 800 A bus carrying teenagers home from a youth camp in northern Michigan was just minutes from its destination when it came speeding off an Indianapolis interstate, struck a retaining wall and flipped on its side.
Orlando от 2020-10-26 11:16:43:
Best Site good looking does differin gel contain benzoyl peroxide Your status entitles you to “position” power — employees do what you tell them to because they must. But bosses who treat employees fairly and respectfully also have “personal” power, and employees will do what you tell them to do because they want to deliver.
Lavern от 2020-10-26 11:16:43:
In tens, please (ten pound notes) can you get high of wellbutrin You can see the Sony Xperia Z1 Social Live feature demoed in the video we have included for you to enjoy, as this gives you a closer look at the potential this latest feature offers. For those of you who do not know, Social Live allows you to capture those rare special moments but share them live on Facebook for those who are important to you.
Zoe от 2020-10-26 11:16:43:
I'm a trainee nuratrim reviews The researchers found that the patients showed extensive and stable ARSA gene replacement after reinfusion of the gene-corrected HSCs. As with the first study, vector integration analyses showed no evidence of aberrant clonal behavior, Dr. Naldini et al. report.
Emmanuel от 2020-10-26 11:16:44:
Three years order domperidone "I'm not scared by it. I shoot movies for all over the world. If people want to watch porn they should opt into it. I don't think it will have an effect on us. You will still have the people that are inquisitive these days and want to watch it. You tell someone not to do something anyway they will go ahead and try it."