Skip to content

Commit 60626b2

Browse files
authored
Update guides/release/components/helper-functions.md
1 parent f723b93 commit 60626b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/release/components/helper-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ import Helper from '@ember/component/helper';
292292

293293
export default class Substring extends Helper {
294294
compute(positional, { start, end }) {
295-
const string = params[0];
295+
const string = positional[0];
296296
return string.substring(start || 0, end);
297297
}
298298
}

0 commit comments

Comments
 (0)