mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 19:34:27 -05:00
10 lines
226 B
JavaScript
10 lines
226 B
JavaScript
(function(){
|
|
var a = 5;
|
|
var atype = typeof a;
|
|
var b = "hello";
|
|
var btype = typeof b;
|
|
var Klass = function() {
|
|
};
|
|
var k = new Klass();
|
|
print(atype === 'number' && btype === 'string' && k instanceof Klass);
|
|
})(); |