Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function generateAnnotation(start, stop, maxLength) {
let range = generateRandomRange(start, stop, maxLength);
return {
...range,
name: getRandomInt(0, 100000).toString(),
type: "misc_feature",
id: objectid().str,
forward: getRandomInt(0, 1) > 0.5,
notes: {}
};
}