summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/bug684084.js
blob: ac2c11a384463e77b5f535b1984f62be9bdb9333 (plain)
1
2
3
4
5
6
7
// |jit-test| error: TypeError
function Integer( value, exception ) {
  try {  } catch ( e ) {  }
  new (value = this)( this.value );
  if ( Math.floor(value) != value || isNaN(value) ) {  }
}
new Integer( 3, false );