dart-lang/js-interop — pull request #22 by a14n (2012-11-13 17:49:34+00:00)
Title: can not instanciate Js Date

It's not possible to use some methods after instanciating a Javascript Date from Dart. Here are my attempts :

```dart
var date1 = new js.Proxy(js.context.Date);
date1.getTime();
var date2 = new js.Proxy(js.context.Date, 1352585881398);
date2.getTime();
```

This simple code fails with the following error :
- in dart on dartium Version 24.0.1312.0 (164863) : `Caught TypeError: this is not a Date object`.
- in Javascript on Firefox 16.0.2 : `Caught TypeError: Date.prototype.getTime called on incompatible Object`.