Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
NewTesting
(version: 0)
ScriptPreparationcode
Comparing performance of:
Destructutring vs Dot-Notation vs Bracket-Notation
Created:
4 years ago
by:
Registered User
Jump to the latest result
Script Preparation code:
const obj = { id: "19388146585281773", hospital_id: "Hospital-19388146585281773", photo: "https://doctorlistingingestionpr.blob.core.windows.net/doctorprofilepic/1646041113387_HospitalProfileImage_Sahyadri%20Hospital.PNG", logo_url: "https://doctorlistingingestionpr.blob.core.windows.net/doctorprofilepic/1646041113348_ProviderLogo_logo.png", display_name: "Sahyadri Multispeciality Hospital", name: "Sahyadri Multispeciality Hospital", name_initials: "SM", bfhl_logo: false, is_opt_for_listing: true, bf_emi_option: true, prime: false, healthpay: false, type: "Multi-Specialty", address: { locality: "Yerwada", line1: "Sahyadri Multispeciality Hospital, Near Hermes Heritage, Shastri Nagar", line2: "", city: "Pune", state: "Maharashtra", country: "India", zip_code: "411006", location: "73.89709542689349,18.554268494266886" }, timings: "Mon - Sun 9:30 AM - 6 PM", opd_timings: { days: "Mon-Sun", details: [ { day: "Mon - Sun", slots: [ { timing: "9:30 AM - 6 PM" } ] } ] }, ctas: [ { type: "CALL HOSPITAL", data: { number: [ "08806252525" ] } } ], url_slug: "pune/sahyadri-multispeciality-hospital-5", facilities: [ { type: "beds", count: "130", name: "130 Beds", icon: "https://bajajfinservhealth.azureedge.net/png/dynamic/fb55f690-21b5-4fe0-a763-107d87042b9a.webp" }, { type: "doctors", count: "39", name: "39 Doctors", icon: "https://bajajfinservhealth.azureedge.net/png/dynamic/30f5afac-194f-43cf-81f5-523ee85b2f5f.webp" }, { type: "specialities", count: "23", name: "23 Specializations", icon: "https://bajajfinservhealth.azureedge.net/png/dynamic/30f5afac-194f-43cf-81f5-523ee85b2f5f.webp" }, { type: "total_services", count: "11", name: "11 Services", icon: "https://bajajfinservhealth.azureedge.net/png/dynamic/1753f210-a3eb-43e0-913d-a31604fad19e.webp" } ], specialities: [], services: [ { name: "International Patient Assistance", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20750_copy.webp", aspect_ratio: "2.230769231:1" }, { name: "ATM", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20755.webp", aspect_ratio: "0.717948718:1" }, { name: "Parking", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20756.webp", aspect_ratio: "0.974358974:1" }, { name: "Teleconsults", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20751.webp", aspect_ratio: "1.346153846:1" }, { name: "MRI Scan", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/mri_scan.webp", aspect_ratio: "1.115384615:1" }, { name: "Path Lab", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/path_labs.webp", aspect_ratio: "1.179487179:1" }, { name: "Radio diagnostics", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/radio_diagnosis.webp", aspect_ratio: "1.705128205:1" }, { name: "CT Scan", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/ct_scan.webp", aspect_ratio: "1.025641026:1" }, { name: "USG Scan", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20750.webp", aspect_ratio: "1.166666667:1" }, { name: "X Ray", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/x_ray.webp", aspect_ratio: "0.846153846:1" }, { name: "Blood Bank", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/group_20754.webp", aspect_ratio: "1.294871795:1" } ], banners: [], email: "insurance.ngr@sahyadrihospitals.com", supplier_pictures: [ { photo: "https://doctorlistingingestionpr.blob.core.windows.net/doctorprofilepic/1640612453932_HospitalFacilityImages_sahydru_waifu2x_photo_noise2_scale_tta_1.png" } ], emergency_details: [ { name: "Hospital", photo: "https://bajajfinservhealth.azureedge.net/png/test/112cda28-8552-4f2c-b71d-703a0d1dc96a.webp", number: "08806252525" }, { name: "Ambulance", photo: "https://bajajfinservhealth.azureedge.net/png/test/861f78b2-4b28-4156-b8be-1ae2f9567bd0.webp", number: "08806252525" }, { name: "Emergency", photo: "https://bajajfinservhealth.azureedge.net/png/test/38974811-8afb-4791-a08d-6c16c3e599bf.webp", number: "08806252525" } ], about: "Sahyadri Multispeciality Hospital is one of the leading hospital established in year 1994 with 130 beds.The best healthcare professionals provide Comprehensive healthcare. It is located at Yerwada. It provides advanced levels of care in over different specialties including Anesthesiologist,Gastroenterology,Neurologist,Ophthamalogist,Radiologist,General Surgery,Dietitian/Nutritionist,Multi Organ Transplant,plastic surgery,Spine Surgery,Cardiology,Haematology,Gynaecologist & Obstetrician,Oncologist,Psychiatry,Urologist,ENT,Pulmonology,Vascular Surgery.", service_category: [ { category: "Auxiliary Services", icon: "https://bajajfinservhealth.azureedge.net/png/test/a78150ea-96b5-4c48-ad12-28b0264e9b54.webp", aspect_ratio: "1.215174867:1", background_color: "#EFEAF4", services: [ { name: "International Patient Assistance", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20750_copy.webp", aspect_ratio: "2.230769231:1" }, { name: "ATM", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20755.webp", aspect_ratio: "0.717948718:1" }, { name: "Parking", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20756.webp", aspect_ratio: "0.974358974:1" } ] }, { category: "Clinical Services", icon: "https://bajajfinservhealth.azureedge.net/png/test/ac6bc6d7-acf5-4834-a5d4-6b9b9dfea5ba.webp", aspect_ratio: "1.866666667:1", background_color: "#DCF2EE", services: [ { name: "Teleconsults", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20751.webp", aspect_ratio: "1.346153846:1" } ] }, { category: "Diagnostic Services", icon: "https://bajajfinservhealth.azureedge.net/png/test/cea1995b-a531-485e-9591-04f3ee32cfee.webp", aspect_ratio: "2.140676118:1", background_color: "#FCE4E1", services: [ { name: "MRI Scan", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/mri_scan.webp", aspect_ratio: "1.115384615:1" }, { name: "Path Lab", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/path_labs.webp", aspect_ratio: "1.179487179:1" }, { name: "Radio diagnostics", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/radio_diagnosis.webp", aspect_ratio: "1.705128205:1" }, { name: "CT Scan", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/ct_scan.webp", aspect_ratio: "1.025641026:1" }, { name: "USG Scan", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20750.webp", aspect_ratio: "1.166666667:1" }, { name: "X Ray", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/x_ray.webp", aspect_ratio: "0.846153846:1" } ] }, { category: "Paraclinical Services", icon: "https://bajajfinservhealth.azureedge.net/png/test/0f7f3adb-f4b0-47d5-9d89-236ba572361c.webp", aspect_ratio: "1.362088394:1", background_color: "#FFF4E5", services: [ { name: "Blood Bank", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/group_20754.webp", aspect_ratio: "1.294871795:1" } ] } ], distance: "7.5 km", bajaj_offers: [ { type: "healthpay", value: false, image_url: "https://bajajfinservhealth.azureedge.net/webp/test/010325d5-bcd5-4f86-8890-36e4200b9d1d.webp" }, { type: "emi", value: true, image_url: "https://bajajfinservhealth.azureedge.net/webp/test/4e900d5e-fa89-4ca7-954e-dbc357ca68c2.webp" }, { type: "healthprime", value: false, image_url: "https://bajajfinservhealth.azureedge.net/webp/test/8c14a925-f4ae-437a-9451-95f4a96c7464.webp" }, { type: "medicard", value: false, image_url: "https://bajajfinservhealth.azureedge.net/webp/test/9f4d00f2-6dd7-4031-a617-8a60a45684fe.webp" } ], type_of_service: "OPD,LABS" }
Tests:
Destructutring
const obj = { id: "19388146585281773", hospital_id: "Hospital-19388146585281773", photo: "https://doctorlistingingestionpr.blob.core.windows.net/doctorprofilepic/1646041113387_HospitalProfileImage_Sahyadri%20Hospital.PNG", logo_url: "https://doctorlistingingestionpr.blob.core.windows.net/doctorprofilepic/1646041113348_ProviderLogo_logo.png", display_name: "Sahyadri Multispeciality Hospital", name: "Sahyadri Multispeciality Hospital", name_initials: "SM", bfhl_logo: false, is_opt_for_listing: true, bf_emi_option: true, prime: false, healthpay: false, type: "Multi-Specialty", address: { locality: "Yerwada", line1: "Sahyadri Multispeciality Hospital, Near Hermes Heritage, Shastri Nagar", line2: "", city: "Pune", state: "Maharashtra", country: "India", zip_code: "411006", location: "73.89709542689349,18.554268494266886" }, timings: "Mon - Sun 9:30 AM - 6 PM", opd_timings: { days: "Mon-Sun", details: [ { day: "Mon - Sun", slots: [ { timing: "9:30 AM - 6 PM" } ] } ] }, ctas: [ { type: "CALL HOSPITAL", data: { number: [ "08806252525" ] } } ], url_slug: "pune/sahyadri-multispeciality-hospital-5", facilities: [ { type: "beds", count: "130", name: "130 Beds", icon: "https://bajajfinservhealth.azureedge.net/png/dynamic/fb55f690-21b5-4fe0-a763-107d87042b9a.webp" }, { type: "doctors", count: "39", name: "39 Doctors", icon: "https://bajajfinservhealth.azureedge.net/png/dynamic/30f5afac-194f-43cf-81f5-523ee85b2f5f.webp" }, { type: "specialities", count: "23", name: "23 Specializations", icon: "https://bajajfinservhealth.azureedge.net/png/dynamic/30f5afac-194f-43cf-81f5-523ee85b2f5f.webp" }, { type: "total_services", count: "11", name: "11 Services", icon: "https://bajajfinservhealth.azureedge.net/png/dynamic/1753f210-a3eb-43e0-913d-a31604fad19e.webp" } ], specialities: [], services: [ { name: "International Patient Assistance", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20750_copy.webp", aspect_ratio: "2.230769231:1" }, { name: "ATM", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20755.webp", aspect_ratio: "0.717948718:1" }, { name: "Parking", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20756.webp", aspect_ratio: "0.974358974:1" }, { name: "Teleconsults", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20751.webp", aspect_ratio: "1.346153846:1" }, { name: "MRI Scan", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/mri_scan.webp", aspect_ratio: "1.115384615:1" }, { name: "Path Lab", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/path_labs.webp", aspect_ratio: "1.179487179:1" }, { name: "Radio diagnostics", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/radio_diagnosis.webp", aspect_ratio: "1.705128205:1" }, { name: "CT Scan", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/ct_scan.webp", aspect_ratio: "1.025641026:1" }, { name: "USG Scan", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20750.webp", aspect_ratio: "1.166666667:1" }, { name: "X Ray", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/x_ray.webp", aspect_ratio: "0.846153846:1" }, { name: "Blood Bank", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/group_20754.webp", aspect_ratio: "1.294871795:1" } ], banners: [], email: "insurance.ngr@sahyadrihospitals.com", supplier_pictures: [ { photo: "https://doctorlistingingestionpr.blob.core.windows.net/doctorprofilepic/1640612453932_HospitalFacilityImages_sahydru_waifu2x_photo_noise2_scale_tta_1.png" } ], emergency_details: [ { name: "Hospital", photo: "https://bajajfinservhealth.azureedge.net/png/test/112cda28-8552-4f2c-b71d-703a0d1dc96a.webp", number: "08806252525" }, { name: "Ambulance", photo: "https://bajajfinservhealth.azureedge.net/png/test/861f78b2-4b28-4156-b8be-1ae2f9567bd0.webp", number: "08806252525" }, { name: "Emergency", photo: "https://bajajfinservhealth.azureedge.net/png/test/38974811-8afb-4791-a08d-6c16c3e599bf.webp", number: "08806252525" } ], about: "Sahyadri Multispeciality Hospital is one of the leading hospital established in year 1994 with 130 beds.The best healthcare professionals provide Comprehensive healthcare. It is located at Yerwada. It provides advanced levels of care in over different specialties including Anesthesiologist,Gastroenterology,Neurologist,Ophthamalogist,Radiologist,General Surgery,Dietitian/Nutritionist,Multi Organ Transplant,plastic surgery,Spine Surgery,Cardiology,Haematology,Gynaecologist & Obstetrician,Oncologist,Psychiatry,Urologist,ENT,Pulmonology,Vascular Surgery.", service_category: [ { category: "Auxiliary Services", icon: "https://bajajfinservhealth.azureedge.net/png/test/a78150ea-96b5-4c48-ad12-28b0264e9b54.webp", aspect_ratio: "1.215174867:1", background_color: "#EFEAF4", services: [ { name: "International Patient Assistance", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20750_copy.webp", aspect_ratio: "2.230769231:1" }, { name: "ATM", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20755.webp", aspect_ratio: "0.717948718:1" }, { name: "Parking", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20756.webp", aspect_ratio: "0.974358974:1" } ] }, { category: "Clinical Services", icon: "https://bajajfinservhealth.azureedge.net/png/test/ac6bc6d7-acf5-4834-a5d4-6b9b9dfea5ba.webp", aspect_ratio: "1.866666667:1", background_color: "#DCF2EE", services: [ { name: "Teleconsults", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20751.webp", aspect_ratio: "1.346153846:1" } ] }, { category: "Diagnostic Services", icon: "https://bajajfinservhealth.azureedge.net/png/test/cea1995b-a531-485e-9591-04f3ee32cfee.webp", aspect_ratio: "2.140676118:1", background_color: "#FCE4E1", services: [ { name: "MRI Scan", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/mri_scan.webp", aspect_ratio: "1.115384615:1" }, { name: "Path Lab", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/path_labs.webp", aspect_ratio: "1.179487179:1" }, { name: "Radio diagnostics", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/radio_diagnosis.webp", aspect_ratio: "1.705128205:1" }, { name: "CT Scan", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/ct_scan.webp", aspect_ratio: "1.025641026:1" }, { name: "USG Scan", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20750.webp", aspect_ratio: "1.166666667:1" }, { name: "X Ray", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/x_ray.webp", aspect_ratio: "0.846153846:1" } ] }, { category: "Paraclinical Services", icon: "https://bajajfinservhealth.azureedge.net/png/test/0f7f3adb-f4b0-47d5-9d89-236ba572361c.webp", aspect_ratio: "1.362088394:1", background_color: "#FFF4E5", services: [ { name: "Blood Bank", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/group_20754.webp", aspect_ratio: "1.294871795:1" } ] } ], distance: "7.5 km", bajaj_offers: [ { type: "healthpay", value: false, image_url: "https://bajajfinservhealth.azureedge.net/webp/test/010325d5-bcd5-4f86-8890-36e4200b9d1d.webp" }, { type: "emi", value: true, image_url: "https://bajajfinservhealth.azureedge.net/webp/test/4e900d5e-fa89-4ca7-954e-dbc357ca68c2.webp" }, { type: "healthprime", value: false, image_url: "https://bajajfinservhealth.azureedge.net/webp/test/8c14a925-f4ae-437a-9451-95f4a96c7464.webp" }, { type: "medicard", value: false, image_url: "https://bajajfinservhealth.azureedge.net/webp/test/9f4d00f2-6dd7-4031-a617-8a60a45684fe.webp" } ], type_of_service: "OPD,LABS" } const { type_of_service } = obj
Dot-Notation
const obj = { id: "19388146585281773", hospital_id: "Hospital-19388146585281773", photo: "https://doctorlistingingestionpr.blob.core.windows.net/doctorprofilepic/1646041113387_HospitalProfileImage_Sahyadri%20Hospital.PNG", logo_url: "https://doctorlistingingestionpr.blob.core.windows.net/doctorprofilepic/1646041113348_ProviderLogo_logo.png", display_name: "Sahyadri Multispeciality Hospital", name: "Sahyadri Multispeciality Hospital", name_initials: "SM", bfhl_logo: false, is_opt_for_listing: true, bf_emi_option: true, prime: false, healthpay: false, type: "Multi-Specialty", address: { locality: "Yerwada", line1: "Sahyadri Multispeciality Hospital, Near Hermes Heritage, Shastri Nagar", line2: "", city: "Pune", state: "Maharashtra", country: "India", zip_code: "411006", location: "73.89709542689349,18.554268494266886" }, timings: "Mon - Sun 9:30 AM - 6 PM", opd_timings: { days: "Mon-Sun", details: [ { day: "Mon - Sun", slots: [ { timing: "9:30 AM - 6 PM" } ] } ] }, ctas: [ { type: "CALL HOSPITAL", data: { number: [ "08806252525" ] } } ], url_slug: "pune/sahyadri-multispeciality-hospital-5", facilities: [ { type: "beds", count: "130", name: "130 Beds", icon: "https://bajajfinservhealth.azureedge.net/png/dynamic/fb55f690-21b5-4fe0-a763-107d87042b9a.webp" }, { type: "doctors", count: "39", name: "39 Doctors", icon: "https://bajajfinservhealth.azureedge.net/png/dynamic/30f5afac-194f-43cf-81f5-523ee85b2f5f.webp" }, { type: "specialities", count: "23", name: "23 Specializations", icon: "https://bajajfinservhealth.azureedge.net/png/dynamic/30f5afac-194f-43cf-81f5-523ee85b2f5f.webp" }, { type: "total_services", count: "11", name: "11 Services", icon: "https://bajajfinservhealth.azureedge.net/png/dynamic/1753f210-a3eb-43e0-913d-a31604fad19e.webp" } ], specialities: [], services: [ { name: "International Patient Assistance", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20750_copy.webp", aspect_ratio: "2.230769231:1" }, { name: "ATM", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20755.webp", aspect_ratio: "0.717948718:1" }, { name: "Parking", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20756.webp", aspect_ratio: "0.974358974:1" }, { name: "Teleconsults", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20751.webp", aspect_ratio: "1.346153846:1" }, { name: "MRI Scan", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/mri_scan.webp", aspect_ratio: "1.115384615:1" }, { name: "Path Lab", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/path_labs.webp", aspect_ratio: "1.179487179:1" }, { name: "Radio diagnostics", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/radio_diagnosis.webp", aspect_ratio: "1.705128205:1" }, { name: "CT Scan", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/ct_scan.webp", aspect_ratio: "1.025641026:1" }, { name: "USG Scan", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20750.webp", aspect_ratio: "1.166666667:1" }, { name: "X Ray", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/x_ray.webp", aspect_ratio: "0.846153846:1" }, { name: "Blood Bank", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/group_20754.webp", aspect_ratio: "1.294871795:1" } ], banners: [], email: "insurance.ngr@sahyadrihospitals.com", supplier_pictures: [ { photo: "https://doctorlistingingestionpr.blob.core.windows.net/doctorprofilepic/1640612453932_HospitalFacilityImages_sahydru_waifu2x_photo_noise2_scale_tta_1.png" } ], emergency_details: [ { name: "Hospital", photo: "https://bajajfinservhealth.azureedge.net/png/test/112cda28-8552-4f2c-b71d-703a0d1dc96a.webp", number: "08806252525" }, { name: "Ambulance", photo: "https://bajajfinservhealth.azureedge.net/png/test/861f78b2-4b28-4156-b8be-1ae2f9567bd0.webp", number: "08806252525" }, { name: "Emergency", photo: "https://bajajfinservhealth.azureedge.net/png/test/38974811-8afb-4791-a08d-6c16c3e599bf.webp", number: "08806252525" } ], about: "Sahyadri Multispeciality Hospital is one of the leading hospital established in year 1994 with 130 beds.The best healthcare professionals provide Comprehensive healthcare. It is located at Yerwada. It provides advanced levels of care in over different specialties including Anesthesiologist,Gastroenterology,Neurologist,Ophthamalogist,Radiologist,General Surgery,Dietitian/Nutritionist,Multi Organ Transplant,plastic surgery,Spine Surgery,Cardiology,Haematology,Gynaecologist & Obstetrician,Oncologist,Psychiatry,Urologist,ENT,Pulmonology,Vascular Surgery.", service_category: [ { category: "Auxiliary Services", icon: "https://bajajfinservhealth.azureedge.net/png/test/a78150ea-96b5-4c48-ad12-28b0264e9b54.webp", aspect_ratio: "1.215174867:1", background_color: "#EFEAF4", services: [ { name: "International Patient Assistance", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20750_copy.webp", aspect_ratio: "2.230769231:1" }, { name: "ATM", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20755.webp", aspect_ratio: "0.717948718:1" }, { name: "Parking", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20756.webp", aspect_ratio: "0.974358974:1" } ] }, { category: "Clinical Services", icon: "https://bajajfinservhealth.azureedge.net/png/test/ac6bc6d7-acf5-4834-a5d4-6b9b9dfea5ba.webp", aspect_ratio: "1.866666667:1", background_color: "#DCF2EE", services: [ { name: "Teleconsults", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20751.webp", aspect_ratio: "1.346153846:1" } ] }, { category: "Diagnostic Services", icon: "https://bajajfinservhealth.azureedge.net/png/test/cea1995b-a531-485e-9591-04f3ee32cfee.webp", aspect_ratio: "2.140676118:1", background_color: "#FCE4E1", services: [ { name: "MRI Scan", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/mri_scan.webp", aspect_ratio: "1.115384615:1" }, { name: "Path Lab", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/path_labs.webp", aspect_ratio: "1.179487179:1" }, { name: "Radio diagnostics", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/radio_diagnosis.webp", aspect_ratio: "1.705128205:1" }, { name: "CT Scan", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/ct_scan.webp", aspect_ratio: "1.025641026:1" }, { name: "USG Scan", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20750.webp", aspect_ratio: "1.166666667:1" }, { name: "X Ray", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/x_ray.webp", aspect_ratio: "0.846153846:1" } ] }, { category: "Paraclinical Services", icon: "https://bajajfinservhealth.azureedge.net/png/test/0f7f3adb-f4b0-47d5-9d89-236ba572361c.webp", aspect_ratio: "1.362088394:1", background_color: "#FFF4E5", services: [ { name: "Blood Bank", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/group_20754.webp", aspect_ratio: "1.294871795:1" } ] } ], distance: "7.5 km", bajaj_offers: [ { type: "healthpay", value: false, image_url: "https://bajajfinservhealth.azureedge.net/webp/test/010325d5-bcd5-4f86-8890-36e4200b9d1d.webp" }, { type: "emi", value: true, image_url: "https://bajajfinservhealth.azureedge.net/webp/test/4e900d5e-fa89-4ca7-954e-dbc357ca68c2.webp" }, { type: "healthprime", value: false, image_url: "https://bajajfinservhealth.azureedge.net/webp/test/8c14a925-f4ae-437a-9451-95f4a96c7464.webp" }, { type: "medicard", value: false, image_url: "https://bajajfinservhealth.azureedge.net/webp/test/9f4d00f2-6dd7-4031-a617-8a60a45684fe.webp" } ], type_of_service: "OPD,LABS" } const data = obj.type_of_service
Bracket-Notation
const obj = { id: "19388146585281773", hospital_id: "Hospital-19388146585281773", photo: "https://doctorlistingingestionpr.blob.core.windows.net/doctorprofilepic/1646041113387_HospitalProfileImage_Sahyadri%20Hospital.PNG", logo_url: "https://doctorlistingingestionpr.blob.core.windows.net/doctorprofilepic/1646041113348_ProviderLogo_logo.png", display_name: "Sahyadri Multispeciality Hospital", name: "Sahyadri Multispeciality Hospital", name_initials: "SM", bfhl_logo: false, is_opt_for_listing: true, bf_emi_option: true, prime: false, healthpay: false, type: "Multi-Specialty", address: { locality: "Yerwada", line1: "Sahyadri Multispeciality Hospital, Near Hermes Heritage, Shastri Nagar", line2: "", city: "Pune", state: "Maharashtra", country: "India", zip_code: "411006", location: "73.89709542689349,18.554268494266886" }, timings: "Mon - Sun 9:30 AM - 6 PM", opd_timings: { days: "Mon-Sun", details: [ { day: "Mon - Sun", slots: [ { timing: "9:30 AM - 6 PM" } ] } ] }, ctas: [ { type: "CALL HOSPITAL", data: { number: [ "08806252525" ] } } ], url_slug: "pune/sahyadri-multispeciality-hospital-5", facilities: [ { type: "beds", count: "130", name: "130 Beds", icon: "https://bajajfinservhealth.azureedge.net/png/dynamic/fb55f690-21b5-4fe0-a763-107d87042b9a.webp" }, { type: "doctors", count: "39", name: "39 Doctors", icon: "https://bajajfinservhealth.azureedge.net/png/dynamic/30f5afac-194f-43cf-81f5-523ee85b2f5f.webp" }, { type: "specialities", count: "23", name: "23 Specializations", icon: "https://bajajfinservhealth.azureedge.net/png/dynamic/30f5afac-194f-43cf-81f5-523ee85b2f5f.webp" }, { type: "total_services", count: "11", name: "11 Services", icon: "https://bajajfinservhealth.azureedge.net/png/dynamic/1753f210-a3eb-43e0-913d-a31604fad19e.webp" } ], specialities: [], services: [ { name: "International Patient Assistance", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20750_copy.webp", aspect_ratio: "2.230769231:1" }, { name: "ATM", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20755.webp", aspect_ratio: "0.717948718:1" }, { name: "Parking", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20756.webp", aspect_ratio: "0.974358974:1" }, { name: "Teleconsults", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20751.webp", aspect_ratio: "1.346153846:1" }, { name: "MRI Scan", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/mri_scan.webp", aspect_ratio: "1.115384615:1" }, { name: "Path Lab", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/path_labs.webp", aspect_ratio: "1.179487179:1" }, { name: "Radio diagnostics", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/radio_diagnosis.webp", aspect_ratio: "1.705128205:1" }, { name: "CT Scan", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/ct_scan.webp", aspect_ratio: "1.025641026:1" }, { name: "USG Scan", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20750.webp", aspect_ratio: "1.166666667:1" }, { name: "X Ray", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/x_ray.webp", aspect_ratio: "0.846153846:1" }, { name: "Blood Bank", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/group_20754.webp", aspect_ratio: "1.294871795:1" } ], banners: [], email: "insurance.ngr@sahyadrihospitals.com", supplier_pictures: [ { photo: "https://doctorlistingingestionpr.blob.core.windows.net/doctorprofilepic/1640612453932_HospitalFacilityImages_sahydru_waifu2x_photo_noise2_scale_tta_1.png" } ], emergency_details: [ { name: "Hospital", photo: "https://bajajfinservhealth.azureedge.net/png/test/112cda28-8552-4f2c-b71d-703a0d1dc96a.webp", number: "08806252525" }, { name: "Ambulance", photo: "https://bajajfinservhealth.azureedge.net/png/test/861f78b2-4b28-4156-b8be-1ae2f9567bd0.webp", number: "08806252525" }, { name: "Emergency", photo: "https://bajajfinservhealth.azureedge.net/png/test/38974811-8afb-4791-a08d-6c16c3e599bf.webp", number: "08806252525" } ], about: "Sahyadri Multispeciality Hospital is one of the leading hospital established in year 1994 with 130 beds.The best healthcare professionals provide Comprehensive healthcare. It is located at Yerwada. It provides advanced levels of care in over different specialties including Anesthesiologist,Gastroenterology,Neurologist,Ophthamalogist,Radiologist,General Surgery,Dietitian/Nutritionist,Multi Organ Transplant,plastic surgery,Spine Surgery,Cardiology,Haematology,Gynaecologist & Obstetrician,Oncologist,Psychiatry,Urologist,ENT,Pulmonology,Vascular Surgery.", service_category: [ { category: "Auxiliary Services", icon: "https://bajajfinservhealth.azureedge.net/png/test/a78150ea-96b5-4c48-ad12-28b0264e9b54.webp", aspect_ratio: "1.215174867:1", background_color: "#EFEAF4", services: [ { name: "International Patient Assistance", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20750_copy.webp", aspect_ratio: "2.230769231:1" }, { name: "ATM", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20755.webp", aspect_ratio: "0.717948718:1" }, { name: "Parking", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20756.webp", aspect_ratio: "0.974358974:1" } ] }, { category: "Clinical Services", icon: "https://bajajfinservhealth.azureedge.net/png/test/ac6bc6d7-acf5-4834-a5d4-6b9b9dfea5ba.webp", aspect_ratio: "1.866666667:1", background_color: "#DCF2EE", services: [ { name: "Teleconsults", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20751.webp", aspect_ratio: "1.346153846:1" } ] }, { category: "Diagnostic Services", icon: "https://bajajfinservhealth.azureedge.net/png/test/cea1995b-a531-485e-9591-04f3ee32cfee.webp", aspect_ratio: "2.140676118:1", background_color: "#FCE4E1", services: [ { name: "MRI Scan", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/mri_scan.webp", aspect_ratio: "1.115384615:1" }, { name: "Path Lab", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/path_labs.webp", aspect_ratio: "1.179487179:1" }, { name: "Radio diagnostics", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/radio_diagnosis.webp", aspect_ratio: "1.705128205:1" }, { name: "CT Scan", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/ct_scan.webp", aspect_ratio: "1.025641026:1" }, { name: "USG Scan", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/frame_20750.webp", aspect_ratio: "1.166666667:1" }, { name: "X Ray", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/x_ray.webp", aspect_ratio: "0.846153846:1" } ] }, { category: "Paraclinical Services", icon: "https://bajajfinservhealth.azureedge.net/png/test/0f7f3adb-f4b0-47d5-9d89-236ba572361c.webp", aspect_ratio: "1.362088394:1", background_color: "#FFF4E5", services: [ { name: "Blood Bank", icon: "https://bajajfinservhealth.azureedge.net/webp/hospital/group_20754.webp", aspect_ratio: "1.294871795:1" } ] } ], distance: "7.5 km", bajaj_offers: [ { type: "healthpay", value: false, image_url: "https://bajajfinservhealth.azureedge.net/webp/test/010325d5-bcd5-4f86-8890-36e4200b9d1d.webp" }, { type: "emi", value: true, image_url: "https://bajajfinservhealth.azureedge.net/webp/test/4e900d5e-fa89-4ca7-954e-dbc357ca68c2.webp" }, { type: "healthprime", value: false, image_url: "https://bajajfinservhealth.azureedge.net/webp/test/8c14a925-f4ae-437a-9451-95f4a96c7464.webp" }, { type: "medicard", value: false, image_url: "https://bajajfinservhealth.azureedge.net/webp/test/9f4d00f2-6dd7-4031-a617-8a60a45684fe.webp" } ], type_of_service: "OPD,LABS" } const bracket = obj['type_of_service']
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (3)
Previous results
Fork
Test case name
Result
Destructutring
Dot-Notation
Bracket-Notation
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Autogenerated LLM Summary
(model
llama3.2:3b
, generated one year ago):
I'll skip the preamble and focus on answering the questions. It seems like we have two JSON objects as input: 1. `obj = {"RawUAString": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36", ...}` 2. `const bracket = obj['type_of_service']` We need to extract the value of `'type_of_service'` from the first object. The answer is: `obj['type_of_service'] = "OPD,LABS"`
Related benchmarks:
Timepass
NewTestingg
Spread vs object.assing vs forEach
Spread vs object.assing vs forEach pt3
Comments
Confirm delete:
Do you really want to delete benchmark?