Sha256: 11e7e5da6e15aed5f859b8a62ac7ef43e1018f0fb731e2116e17f426831d0182

Contents?: true

Size: 354 Bytes

Versions: 2

Compression:

Stored size: 354 Bytes

Contents

//Written using Nila. Visit http://adhithyan15.github.io/nila
(function() {
  // This is a demo of default parameters

  function fill(container,liquid) {
    if (liquid == null) {
      liquid = "coffee";
    }
    return console.log("Filling " + container + " with " + liquid);
  }

  fill("cup");

  fill("bowl","soup");

}).call(this);

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nilac-0.0.4.0.1 shark/test_files/correct_default_parameters.js
nilac-0.0.4.0 shark/test_files/correct_default_parameters.js