Advertisement
Guest User

Untitled

a guest
Aug 13th, 2015
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. (11:46:33 PM) johannes@weltraumpflege.org/SPITFIRE: Hallo und herzlich willkommen
  2. (11:46:45 PM) johannes@weltraumpflege.org/SPITFIRE: zurück bei einer neuen Ausgabe von Javascript der Hurensohn
  3. (11:47:33 PM) johannes@weltraumpflege.org/SPITFIRE: Und zwar geht es heute um ein Snippet, das uns der Johannes F. aus A. eingesandt hat, mit dem Vermerk dass er drei Stunden auf den Debug geschaut hat, bis er gemerkt hat, was abging: https://jsfiddle.net/6v9hxzL7/3/
  4. (11:48:56 PM) johannes@weltraumpflege.org/SPITFIRE: Wie sie sehen, sollte die Funktion "dreibisfuenf" genau 5 mal ausgeführt werden.
  5. (11:49:03 PM) johannes@weltraumpflege.org/SPITFIRE: Ausgeführt wird sie aber nur einmal.
  6. (11:49:06 PM) johannes@weltraumpflege.org/SPITFIRE: Warum?
  7. (11:49:17 PM) johannes@weltraumpflege.org/SPITFIRE: Ja, das hat sich der Johannes auch gefragt.
  8. (11:50:02 PM) johannes@weltraumpflege.org/SPITFIRE: Stellt sich raus, dass sich in javaScript anscheinend das Scope von Variablen auch in Funktionsaufrufe rein überträgt.
  9. (11:50:42 PM) johannes@weltraumpflege.org/SPITFIRE: Danke für's zuschauen
  10. (11:50:56 PM) johannes@weltraumpflege.org/SPITFIRE: und wir hoffen, dass sie auch beim nächsten mal wieder dabei sind
  11. (11:51:05 PM) johannes@weltraumpflege.org/SPITFIRE: wenn es heißt JAVASCRIPT DER HURENSOHN
  12. (11:51:27 PM) johannes@weltraumpflege.org/SPITFIRE: *abspann rollt*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement