This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 18th, 2012  |  syntax: JavaScript  |  size: 0.18 KB  |  views: 156  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. // a dangerous function
  2. protected function dangerous() { 42 }
  3. // a bit of code
  4. function code() { dangerous() }
  5. // an innocent bit of client code
  6. client function malicious() { code () }
clone this paste RAW Paste Data