Bug Tracker

Changes between Version 1 and Version 2 of Ticket #13759, comment 6


Ignore:
Timestamp:
Apr 10, 2013, 12:10:28 PM (10 years ago)
Author:
m_gol
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13759, comment 6

    v1 v2  
    66{{{
    77(function ( undefined ) {
    8         console.log('0: ' + undefined);
     8        console.log( '0: ' + undefined );
    99})( 0 ); // => 0
    1010
    1111(function ( undefined ) {
    1212        'use strict';
    13         console.log('1: ' + undefined);
     13        console.log( '1: ' + undefined );
    1414})( 1 ); // => 1
    1515
    1616(function () {
    1717        undefined = 2;
    18         console.log('2: ' + undefined);
     18        console.log( '2: ' + undefined );
    1919})(); // => 2
    2020
     
    2323        try {
    2424                undefined = 3;
    25                 console.log('3: ' + undefined);
     25                console.log( '3: ' + undefined );
    2626        } catch (e) {
    27                 console.log('3: ' + e);
     27                console.log( '3: ' + e );
    2828        }
    2929})(); // => TypeError
     
    3131(function () {
    3232        var undefined = 4;
    33         console.log('4: ' + undefined);
     33        console.log( '4: ' + undefined );
    3434})(); // => 4
    3535
     
    3737        'use strict';
    3838        var undefined = 5;
    39         console.log('5: ' + undefined);
     39        console.log( '5: ' + undefined );
    4040})(); // => 5
    4141
    4242var undefined = 6;
    4343(function () {
    44         console.log('6: ' + undefined);
     44        console.log( '6: ' + undefined );
    4545})(); // => undefined
    4646
     
    4848(function () {
    4949        'use strict';
    50         console.log('7: ' + undefined);
     50        console.log( '7: ' + undefined );
    5151})(); // => undefined
    5252}}}