Skip to content

Commit

Permalink
add try
Browse files Browse the repository at this point in the history
  • Loading branch information
lastmjs committed Dec 11, 2023
1 parent 0731b14 commit 11fe193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion property_tests/arbitraries/js_function_name_arb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const azleKeywords = [
'Vec'
];

const jsKeywords = ['eval', 'var', 'new'];
const jsKeywords = ['eval', 'var', 'new', 'try'];

export const JsFunctionNameArb = fc
.stringMatching(/^(_[a-zA-Z0-9]+|[a-zA-Z][a-zA-Z0-9]*)$/)
Expand Down

0 comments on commit 11fe193

Please sign in to comment.