Sha256: 9210efdee8e4c5c11afbf771e4e6b3900f1946583cb1486f98579a768eaf1208
Contents?: true
Size: 268 Bytes
Versions: 132
Compression:
Stored size: 268 Bytes
Contents
/** @constructor */ function Article() { } Article.prototype.init = function(title) { /** the instance title */ this.title = title; /** the static counter */ Article.counter = 1; } a = new Article(); a.Init("my title"); print(a.title); print(Article.counter);
Version data entries
132 entries across 131 versions & 14 rubygems