crypto icon indicating copy to clipboard operation
crypto copied to clipboard

parser support for immediately invoked function expressions

Open TwitchBronBron opened this issue 5 years ago • 0 comments

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")

TwitchBronBron avatar Aug 05 '20 11:08 TwitchBronBron