dcsimg
A Flash Developer Resource Site

Results 1 to 1 of 1
  1. #1
    Senior Member Alloy Bacon's Avatar
    Join Date
    Apr 2011
    Posts
    916

    kind of funny but not really

    I found this funny in java you do System.out.println and you can do it in flash too if you try this

    var System={out:{println:trace}};

    System.out.println("hey");

    and in javascript you can be all like

    function trace(a){
    alert(a);
    }
    trace("hey");

    and in java you can do

    private void trace(String a) {
    System.out.println(a);
    }
    trace("hey");
    Last edited by Alloy Bacon; 01-24-2017 at 12:48 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center

×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.