Advertisement
Guest User

Untitled

a guest
Mar 5th, 2015
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. (function(){
  2. "use strict"; // <-- Directive Prologue
  3. })()
  4.  
  5. (function() {
  6. // Directive Prologue start
  7. "foo bar"
  8. "baz";
  9. '123';
  10. '';
  11. // Directive Prologue end
  12. })();
  13.  
  14. 'blah'; // <-- Directive Prologue (top-level code)
  15. /* rest of the code here */
  16.  
  17. var x;
  18. "use strict"; // <-- NOT a Directive Prologue
  19.  
  20. (function() {
  21. 1 + "use magic"; // <-- NOT a Directive Prologue
  22. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement