We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Config and Small code sample
Config:
{ target: "node", flatten: true }
Code:
// Input var object = { "my-function": function () { console.log("Success"); }, }; object["my-function"](); // "Success" // Output var __p_6528915312_flat_my-function = function ([], [], __p_3339738254) { console['log']('Success'); return __p_3339738254.fkgens5 = {}; }; var object = { 'my-function': function () { var __p_3339738254 = {}; __p_6528915312_flat_my-function([], [], __p_3339738254); if (__p_3339738254['fkgens5']) { return __p_3339738254['fkgens5']['YQwDJR']; } } }; object['my-function']();
Expected behavior
The program should output "Success"
Actual behavior
SyntaxError: Unexpected token '-'
The text was updated successfully, but these errors were encountered:
df3d954
No branches or pull requests
Config and Small code sample
Config:
Code:
Expected behavior
The program should output "Success"
Actual behavior
The text was updated successfully, but these errors were encountered: