Sha256: fd6368727b885f495d71233476463aaa65c3d34d52fc5008f53154b0d7f09595
Contents?: true
Size: 471 Bytes
Versions: 4
Compression:
Stored size: 471 Bytes
Contents
//Written using Nila. Visit http://adhithyan15.github.io/nila (function() { var container, fill, liquid; // This is a demo of default parameters fill = function(container,liquid) { if (container == null) { container = "cup"; } if (liquid == null) { liquid = "coffee"; } return console.log("Filling " + (container) + " with " + (liquid)); }; fill(); fill("cup"); fill("bowl","soup"); }).call(this);
Version data entries
4 entries across 4 versions & 1 rubygems