This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const re: { [key: string]: any[] } = {} | |
| const datas = [ | |
| { key: 'a', id: 'a_id1', value: '11' }, | |
| { key: 'a', id: 'a_id2', value: '12' }, | |
| { key: 'a', id: 'a_id3', value: '13' }, | |
| { key: 'b', id: 'b_id1', value: '21' }, | |
| { key: 'b', id: 'b_id2', value: '22' }, | |
| ] | |
| for (const row of datas) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const array1 = [1, 2, 3, 4,5]; | |
| const reducer = (accumulator, currentValue,index) => { | |
| console.log(`---`) | |
| console.log(`Index: ${index}`) | |
| console.log(`A: ${accumulator}`) | |
| console.log(`C: ${currentValue}`) | |
| return {value: accumulator.value + currentValue} | |
| return accumulator+currentValue | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| hoge(x: number, y: number, z: number): number { | |
| return x + y + z | |
| } | |
| hoge_curry(x: number): (y: number) => (z: number) => number { | |
| return (y: number): ((z: number) => number) => { | |
| return (z: number): number => { | |
| return x + y + z | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const XlsxPopulate = require('xlsx-populate') | |
| const workbook: any = await XlsxPopulate.fromFileAsync(inputFullPath) | |
| const headers: string[] = workbook | |
| .sheet(sheetName) | |
| .usedRange() | |
| .value() | |
| .shift() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const XlsxPopulate = require('xlsx-populate') | |
| // 指定された場合は、一行目の文字列群を使ってプロパティを作成する | |
| const workbook: any = await XlsxPopulate.fromFileAsync(inputFullPath) | |
| const headers: string[] = workbook | |
| .sheet(sheetName) | |
| .usedRange() | |
| .value() | |
| .shift() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const XlsxPopulate = require('xlsx-populate') | |
| // 指定された場合は、一行目の文字列群を使ってプロパティを作成する | |
| const workbook: any = await XlsxPopulate.fromFileAsync(inputFullPath) | |
| const headers: string[] = workbook | |
| .sheet(sheetName) | |
| .usedRange() | |
| .value() | |
| .shift() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "swagger": "2.0", | |
| "info": { | |
| "title": "UiPath.WebApi 15.0", | |
| "description": "Orchestrator API", | |
| "version": "15.0" | |
| }, | |
| "host": "cloud.uipath.com", | |
| "basePath": "/mvpjapankino/enterpriseTenant/orchestrator_/", | |
| "schemes": [ |
OlderNewer