git.delta.rocks / jrsonnet / refs/heads / master

difftreelog

source

tests/suite/function_args.jsonnet172 Bsourcehistory
1std.assertEqual(local a = function(b, c=2) b + c; a(2), 4) &&2std.assertEqual(local a = function(b, c='Dear') b + c + d, d = 'World'; a('Hello'), 'HelloDearWorld') &&3true