crypto
crypto copied to clipboard
parser support for immediately invoked function expressions
BrightScript supports IIFE right now! However, they cause errors in the parser. Here's a few examples:
result = function(message)
return message
end function("it works")
print (function(message)
return message
end function)("it works")