For example: ``` javascript test1a = function (a) { return true; } ``` tested with ``` javascript test = TypedJS.addTest("test1a :: Number -> Boolean", test1a); TypedJS.go([test]); ``` fails with: Uncaught Error: Parse error on line 1: //+test1a :: Number -> Numb -------^ Expecting '::'
For example:
tested with
fails with:
Uncaught Error: Parse error on line 1:
//+test1a :: Number -> Numb
-------^
Expecting '::'