@webqit/subscript
Advanced tools
Comparing version 2.1.14-0 to 2.1.15-0
@@ -11,3 +11,3 @@ { | ||
"homepage": "https://webqit.io/tooling/subscript", | ||
"version": "2.1.14-0", | ||
"version": "2.1.15-0", | ||
"license": "MIT", | ||
@@ -14,0 +14,0 @@ "repository": { |
@@ -5,2 +5,4 @@ # Subscript Function Proposal | ||
## Table of Contents | ||
+ [Introduction](#introduction) | ||
@@ -143,3 +145,5 @@ + [What We Propose](#what-we-propose) | ||
// As function declaration | ||
function** fn() {} | ||
function** fn( a, b ) { | ||
return a + b; | ||
} | ||
``` | ||
@@ -155,3 +159,3 @@ | ||
```js | ||
// As a constructor | ||
// As function constructor | ||
// A one-on-one equivalent of the standard function constructor (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/Function) | ||
@@ -158,0 +162,0 @@ let fn = new SubscriptFunction( `a`, `b`, `return a + b;` ); |
3698702
823