Description
in Piešt'any. sídlisko Trajan. Area 47 sqm. Loggia. Furnished. Apartment suitable for one or two employed adults. Tel. 0903 398 313 ) ; return result; ; var generateMarkdownTable = function(data) let tableData = []; data.forEach((item) => if (item['_index'] !== undefined && item['value'] !== undefined) const index = parseInt(item['_index']); const value = item['value'].toString().replace('’', '').trim(); tableData.push( rowIndex: index + 1, columnIndex: item._column, cellValue: value, type: 'string' // string | number | boolean | null | undefined | array | object | symbol | bigint / React element etc... || 'unknown' // unknown types go here based on your needs... , metadata: // additional info about this specific instance like language code, original field name, etc... // you can use any structure that fits your requirements... // For example: metadata: id: 'some_id', lang: 'en', fieldName: 'name', ...etc... // You might want to store more information than just the type itself... ) ; console.log(tableData); return true; else throw new Error(