{ "app": [ { "definition": { "appV2": { "type": "front-end", "id": "79068872-d6b5-4e2d-9903-bc66eab8f369", "name": "AI Code Explainer", "slug": "79068872-d6b5-4e2d-9903-bc66eab8f369", "isPublic": false, "isMaintenanceOn": false, "icon": "apps", "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", "currentVersionId": null, "userId": "ccf51822-9d82-4d82-81dd-22df9f3cfcfc", "workflowApiToken": null, "workflowEnabled": false, "createdAt": "2024-06-24T06:55:09.754Z", "creationMode": "DEFAULT", "updatedAt": "2024-06-24T06:55:10.002Z", "editingVersion": { "id": "d78a6d94-eba1-4305-9424-6e0e8b3e435e", "name": "v1", "definition": null, "globalSettings": { "hideHeader": true, "appInMaintenance": false, "canvasMaxWidth": 100, "canvasMaxWidthType": "%", "canvasMaxHeight": 2400, "canvasBackgroundColor": "#edeff5", "backgroundFxQuery": "", "appMode": "auto" }, "pageSettings": { "properties": { "disableMenu": { "value": "{{true}}", "fxActive": false } } }, "showViewerNavigation": false, "homePageId": "953da5ef-d5f8-44b2-a3a0-18cb96285f07", "appId": "79068872-d6b5-4e2d-9903-bc66eab8f369", "currentEnvironmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", "promotedFrom": null, "createdAt": "2024-06-24T06:55:09.766Z", "updatedAt": "2024-06-24T06:55:09.977Z" }, "components": [ { "id": "7ef3c8d3-f6d3-46a1-9dc4-40e2f42f0209", "name": "container1", "type": "Container", "pageId": "953da5ef-d5f8-44b2-a3a0-18cb96285f07", "parent": null, "properties": {}, "general": {}, "styles": { "backgroundColor": { "value": "#ffffffff" }, "borderRadius": { "value": "10" }, "borderColor": { "value": "#ffffff00", "fxActive": false } }, "generalStyles": {}, "displayPreferences": { "showOnDesktop": { "value": "{{true}}" }, "showOnMobile": { "value": "{{false}}" } }, "validation": {}, "createdAt": "2024-06-24T06:55:09.771Z", "updatedAt": "2024-06-24T06:55:09.771Z", "layouts": [ { "id": "f9295e97-a326-4d13-9992-a8edc832a30b", "type": "desktop", "top": 20, "left": 1, "width": 41, "height": 70, "componentId": "7ef3c8d3-f6d3-46a1-9dc4-40e2f42f0209", "dimensionUnit": "count", "updatedAt": "2024-06-24T06:55:09.771Z" } ] }, { "id": "1c316bbd-b885-486e-b83f-bb6ebe81eefc", "name": "text1", "type": "Text", "pageId": "953da5ef-d5f8-44b2-a3a0-18cb96285f07", "parent": "7ef3c8d3-f6d3-46a1-9dc4-40e2f42f0209", "properties": { "text": { "value": "B R A N D" } }, "general": {}, "styles": { "textColor": { "value": "#000", "fxActive": false }, "textSize": { "value": "{{24}}" }, "fontWeight": { "value": "bold" }, "boxShadow": { "value": "0px 0px 0px 0px #00000040" }, "isScrollRequired": { "value": "disabled" } }, "generalStyles": {}, "displayPreferences": { "showOnDesktop": { "value": "{{true}}" }, "showOnMobile": { "value": "{{false}}" } }, "validation": {}, "createdAt": "2024-06-24T06:55:09.771Z", "updatedAt": "2024-06-24T06:55:09.771Z", "layouts": [ { "id": "587624dd-c507-47f8-99ed-9b60746168a7", "type": "desktop", "top": 10, "left": 1, "width": 6, "height": 40, "componentId": "1c316bbd-b885-486e-b83f-bb6ebe81eefc", "dimensionUnit": "count", "updatedAt": "2024-06-24T06:55:09.771Z" } ] }, { "id": "f87a46e9-a70b-404b-a0a1-06696b4a85d8", "name": "text2", "type": "Text", "pageId": "953da5ef-d5f8-44b2-a3a0-18cb96285f07", "parent": "7ef3c8d3-f6d3-46a1-9dc4-40e2f42f0209", "properties": { "text": { "value": "
function addNumbers(a, b) {: Defines a function named addNumbers that takes two parameters a and b.return a + b;: The function returns the sum of a and b.}: Ends the function definition.const sum = addNumbers(5, 3);: Calls the addNumbers function with arguments 5 and 3, and assigns the result to the constant sum.console.log(sum);: Outputs the value of sum to the console, which is 8.