mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-19 03:44:23 -05:00
10 lines
228 B
JavaScript
10 lines
228 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);
|
|
})(); |