Sha256: acd9941cdac5f5f76a9a4d79b958898eded5f143ee1334b628b6516e0a31a9f9
Contents?: true
Size: 403 Bytes
Versions: 43
Compression:
Stored size: 403 Bytes
Contents
/*conf:-lambda_assign_requires_semicolon*/ /* Test with a simple variable. */ var x = function() { return {}; } var y; /*warning:missing_semicolon*/ function Foo() { this.bar = 10; /* Test an assignment to a member. */ this.setBar = function(bar) { this.bar = bar; } } /* Test an assignment to a prototype. */ Foo.prototype.getBar = function() { return this.bar; }
Version data entries
43 entries across 43 versions & 1 rubygems