Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let input = [
- 12
- ];
- let print = this.print || console.log;
- let gets = this.gets || ((arr, index) => () => arr[index++])(input, 0);
- let number = +gets();
- function telerikTemplate(number) {
- if (number < 10) {
- return 'In the 10th';
- }
- if (number < 50) {
- return 'In the 50th';
- }
- if (number < 100) {
- return 'In the 100th';
- }
- }
- print(telerikTemplate(number));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement