fluentnode
Version:
Fluent apis for node (based on the concepts used in C#'s FluentSharp
21 lines (18 loc) • 439 B
JavaScript
// Generated by CoffeeScript 1.12.7
(function() {
Object.defineProperty(Object.prototype, 'console_log', {
enumerable: false,
writable: true,
value: function() {
var value;
value = this.toString();
console.log(value);
return value;
}
});
Object.defineProperty(String.prototype, 'log', {
enumerable: false,
writable: true,
value: Object.prototype.console_log
});
}).call(this);