KSD Lighter Myanmar Distribution Company © 2023 by KoSai KSD Founder and CEO is licensed under Creative Commons Attribution 4.0 International google-site-verification=AHkjaRO3qE9caTr6uGH_zJPyRQRA2xd8RyvDCTekTKI let fruits = new Set(["apples", "bananas", "pears", "oranges"]); let applesAndBananas = new Set(["apples", "bananas"]); let applesAndOranges = new Set(["apples", "oranges"]); let oranges = new Set(["oranges"]); let emptySet = new Set(); //// // union //// // Set(4) {'apples', 'bananas', 'pears', 'oranges'} console.log(fruits.union(oranges)); // Set(3) {'apples', 'bananas', 'oranges'} console.log(applesAndBananas.union(oranges)); //// // intersection //// // Set(2) {'apples', 'bananas'} console.log(fruits.intersection(applesAndBananas)); // Set(0) {} console.log(applesAndBananas.intersection(oranges)); // Set(1) {'apples'} console.log(applesAndBananas.intersection(applesAndOranges)); //// // difference //// // Set(3) {'apples', 'bananas', 'pears'} console.log(fruits.difference(oranges)); // Set(2) {'pears', 'oranges'} console.log(fruits.difference(applesAndBananas)); // Set(1) {'bananas'} console.log(applesAndBananas.difference(applesAndOranges)); //// // symmetricDifference //// // Set(2) {'bananas', 'oranges'} console.log(applesAndBananas.symmetricDifference(applesAndOranges)); // no apples //// // isDisjointFrom //// // true console.log(applesAndBananas.isDisjointFrom(oranges)); // false console.log(applesAndBananas.isDisjointFrom(applesAndOranges)); // true console.log(fruits.isDisjointFrom(emptySet)); // true console.log(emptySet.isDisjointFrom(emptySet)); //// // isSubsetOf //// // true console.log(applesAndBananas.isSubsetOf(fruits)); // false console.log(fruits.isSubsetOf(applesAndBananas)); // false console.log(applesAndBananas.isSubsetOf(oranges)); // true console.log(fruits.isSubsetOf(fruits)); // true console.log(emptySet.isSubsetOf(fruits)); //// // isSupersetOf //// // true console.log(fruits.isSupersetOf(applesAndBananas)); // false console.log(applesAndBananas.isSupersetOf(fruits)); // false console.log(applesAndBananas.isSupersetOf(oranges)); // true console.log(fruits.isSupersetOf(fruits)); // false console.log(emptySet.isSupersetOf(fruits)); wix:image://v1//#originWidth=&originHeight=[&watermark=] import { media } from "@wix/sdk"; const { url } = media.getImageUrl(wixImageId); import { createClient, media } from "@wix/sdk"; // ... const { cart } = await wixClient.currentCart.getCurrentCart(); const { url } = media.getImageUrl(cart.lineItems[0].image); { "status": "A", "$or": [ { "qty": { "$lt": 30 } }, { "item": { "$startsWith": "p" } } ] } { "tags": ["red", "blank"] } { "tags": "red" } { "item": { "$exists": false } } { "sort": [ { "fieldName": "sortField1" }, { "fieldName": "sortField2", "order": "DESC" } ] } { "paging": { "limit": 20, "offset": 40 } } { "pagingMetadata": { "count": 10, "offset": 0, "cursors": { "next": "eyJmaWx0ZXIiOnsiJGFuZCI6W3sibGFuZ3VhZ2UiOnsiJGluIjpbImVuIiwiaGUiXX19LHsic3RhdHVzIjoicHVibGlzaGVkIn1dfSwidmFsdWUiOnsiaXNQaW5uZWQiOmZhbHNlLCJmaXJzdFB1Ymxpc2hlZERhdGUiOiIyMDIyLTA2LTAyVDA2OjQ2OjAyLjgwMloifSwib3JkZXIiOnsiaXNQaW5uZWQiOi0xLCJmaXJzdFB1Ymxpc2hlZERhdGUiOi0xLCJpZCI6LTF9fQ==" } } } { "query": { "cursorPaging": { "cursor": "eyJmaWx0ZXIiOnsiJGFuZCI6W3sibGFuZ3VhZ2UiOnsiJGluIjpbImVuIiwiaGUiXX19LHsic3RhdHVzIjoicHVibGlzaGVkIn1dfSwidmFsdWUiOnsiaXNQaW5uZWQiOmZhbHNlLCJmaXJzdFB1Ymxpc2hlZERhdGUiOiIyMDIyLTA2LTAyVDA2OjQ2OjAyLjgwM1oifSwib3JkZXIiOnsiaXNQaW5uZWQiOi0xLCJmaXJzdFB1Ymxpc2hlZERhdGUiOi0xLCJpZCI6LTF9fQ" } } } { "fields": ["name.firstName", "address"] } { "fieldsets": ["BASIC"] } function listSessionsAsync( options: ListSessionsAsyncOptions, ): Promise; import { analyticsSession } from "@wix/analytics-session"; async function listSessionsAsync(options) { const response = await analyticsSession.listSessionsAsync(options); } function markSessionAsRecorded(sessionId: string): Promise; import { analyticsSession } from "@wix/analytics-session"; async function markSessionAsRecorded(sessionId) { const response = await analyticsSession.markSessionAsRecorded(sessionId); }
export function foo() { // ~~~ // error! Function must have an explicit // return type annotation with --isolatedDeclarations. return x; } import { add } from "./add"; const x = add(); export function foo() { return x; } // add.d.ts export declare function add(): add.d.ts // add.d.ts export declare function add(): util.ts // util.ts export let one = "1"; export let two = "2"; // add.ts import { one, two } from "./util"; export function add() { return one + two; } add.ts Example Books - high-quality used books for children let users = { user1: "testpassword" }; let response = new Twilio.Response(); let headers = { 'Access-Control-Allow-Origin': '*', }; exports.handler = function(context, event, callback) { response.setHeaders(headers); if (!event.identity || !event.password) { response.setStatusCode(401); response.setBody("No credentials"); callback(null, response); return; } if (users[event.identity] != event.password) { response.setStatusCode(401); response.setBody("Wrong credentials"); callback(null, response); return; } let AccessToken = Twilio.jwt.AccessToken; let token = new AccessToken( context.ACCOUNT_SID, context.TWILIO_API_KEY_SID, context.TWILIO_API_KEY_SECRET, { identity: event.identity, ttl: 3600 }); let grant = new AccessToken.ChatGrant({ serviceSid: "ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" }); if(context.PUSH_CREDENTIAL_SID) { // Optional: without it, no push notifications will be sent grant.pushCredentialSid = context.PUSH_CREDENTIAL_SID; } token.addGrant(grant); response.setStatusCode(200); response.setBody(token.toJwt()); callback(null, response); }; KSD Lighter Myanmar Distribution Company © 2023 by KoSai KSD Founder and CEO is licensed under Creative Commons Attribution 4.0 International https://creativecommons.org/licenses/by-sa/4.0/ https://creativecommons.org/licenses/by/4.0/ https://mirrors.creativecommons.org/presskit/icons/cc.svg https://mirrors.creativecommons.org/presskit/icons/by.svg twilio-domain-verification=d3864041f5e9fd54ff8ed49bd83a12d9 201 - CREATED - The request was successful. We created a new resource and the response body contains the representation. { "account_sid": "AC7264caba60bbee706c45568c419d7684", "api_version": "2010-04-01", "body": "Here received your order detials please checkcheckout ", "date_created": "Thu, 20 Nov 2025 06:27:44 +0000", "date_sent": null, "date_updated": "Thu, 20 Nov 2025 06:27:44 +0000", "direction": "outbound-api", "error_code": null, "error_message": null, "from": null, "messaging_service_sid": "MG771d2b025930a7ab618670430f70ee14", "num_media": "0", "num_segments": "0", "price": null, "price_unit": null, "sid": "SMc96ce3c69d10c8465bec0e95a76fc867", "status": "accepted", "subresource_uris": { "media": "/2010-04-01/Accounts/AC7264caba60bbee706c45568c419d7684/Messages/SMc96ce3c69d10c8465bec0e95a76fc867/Media.json" }, "to": "+18777804236", "uri": "/2010-04-01/Accounts/AC7264caba60bbee706c45568c419d7684/Messages/SMc96ce3c69d10c8465bec0e95a76fc867.json" }
top of page

Shipping & Returns

Shipping Policy

I’m a shipping policy section. I’m a great place to update your customers about your shipping methods, packaging and costs. Use plain, straightforward language to build trust and make sure that your customers stay loyal!

 

I'm the second paragraph in your shipping policy section. Click here to add your own text and edit me. It’s easy. Just click “Edit Text” or double click me to add details about your policy and make changes to the font. I’m a great place for you to tell a story and let your users know a little more about you.

Return & Exchange Policy

I’m a return policy section. I’m a great place to let your customers know what to do in case they’ve changed their mind about their purchase, or if they’re dissatisfied with a product. Having a straightforward refund or exchange policy is a great way to build trust and reassure your customers that they can buy with confidence.

 

I'm the second paragraph in your return & exchange policy. Click here to add your own text and edit me. It’s easy. Just click “Edit Text” or double click me to add details about your policy and make changes to the font. I’m a great place for you to tell a story and let your users know a little more about you.

bottom of page
// ./some-module.d.ts export interface SomeType { // ... } // ./index.js import { SomeType } from "./some-module"; // ❌ runtime error! /** * @param {SomeType} myValue */ function doSomething(myValue) { // ... } curl 'https://www.wixapis.com/stores/v2/inventoryItems/product/{productId}' -X PATCH --data-binary '{"inventoryItem": {"trackQuantity": false}}' -H 'Content-Type: application/json' -H 'Authorization: XXX' curl 'https://www.wixapis.com/stores/v2/inventoryItems/product/{productId}' -X PATCH --data-binary '{"inventoryItem": {"trackQuantity": false,"variants": [{"variantId": "00000000-0000-0000-0000-000000000000","inStock": false}]}}' -H 'Content-Type: application/json' -H 'Authorization: XXX' curl 'https://www.wixapis.com/stores/v2/inventoryItems/product/{productId}' -X PATCH --data-binary '{"inventoryItem": {"trackQuantity": true,"variants": [{"variantId": "00000000-0000-0000-0000-000000000000","quantity": 4}]}}' -H 'Content-Type: application/json' -H 'Authorization: XXX' function createSecret(secret: Secret): Promise; import { secrets } from "wix-secrets-backend.v2"; import { elevate } from "wix-auth"; export function createNewSecret() { const secret = { name: "s3_secret_key", value: "Fm8OfflH6bJOwWjenqAtLurLbkiMNvmhQHZV+118", description: "AWS secret access key", }; const elevatedCreateSecret = elevate(secrets.createSecret); return elevatedCreateSecret(secret) .then((id) => { return id; }) .catch((error) => { console.error(error); }); } /* * Returns a Promise that resolves to: * * "5ec36ffb-2cec-489a-9c0e-d8f53fef5fd1" */ { "data": { "eventType": "OrderPaid", "instanceId": "", "data": "", // The identity field is sent as a stringified JSON "identity": { "identityType": "", // ANONYMOUS_VISITOR, MEMBER, WIX_USER, APP "anonymousVisitorId": "", // in case of ANONYMOUS_VISITOR "memberId": "", // in case of MEMBER "wixUserId": "", // in case of WIX_USER "appId": "" // in case of APP } } } dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { mavenCentral() maven { url 'https://jitpack.io' } } } dependencies { implementation 'com.github.DantSu:ESCPOS-ThermalPrinter-Android:3.3.0' } import { analyticsSession } from "@wix/analytics-session"; async function getListSessionsJobResult(jobId, options) { const response = await analyticsSession.getListSessionsJobResult( jobId, options, ); } function makeBirdCalls(countries: string[]) { // birds: Bird[] const birds = countries .map(country => nationalBirds.get(country)) .filter(bird => bird !== undefined); for (const bird of birds) { bird.sing(); // ok! } }