π΅ FOR Ukraine:
π https://send.monobank.ua/jar/6DbLp37hre
π³ 5375 4112 1187 1350
π FOR ALL DONATS:
π΅ PayPal: luckystudydanit@gmail.com
π΅ SWIFT code: UNJSUAUKXXX
My profile with reports after closing fundraiser :
https://www.facebook.com/volunt2erua/
also all reports in ourπ channel:
https://t.me/toxicc_squad
π https://send.monobank.ua/jar/6DbLp37hre
π³ 5375 4112 1187 1350
π FOR ALL DONATS:
π΅ PayPal: luckystudydanit@gmail.com
π΅ SWIFT code: UNJSUAUKXXX
My profile with reports after closing fundraiser :
https://www.facebook.com/volunt2erua/
also all reports in our
https://t.me/toxicc_squad
Please open Telegram to view this post
VIEW IN TELEGRAM
β€3
#js #interview #ajax
Implement an ajax request function that supports Promise:
π£Send a request using the XMLHttpRequest object
πInitialize the open method, configure the request method and url
π·Add onload and onerror callback functions
π§onload determines whether the status code is within the range of 200β300 resolve, otherwise reject
π«onerror directly reject
π₯§After the request is successful, resolve returns response, and after failure, reject reports an error.
π₯Support options to configure request parameters and request body
π±Returns a Promise object, which can be processed externally using then/catch
Analysis: Promise is used to encapsulate asynchronous ajax requests and achieve a synchronous programming style.
Please open Telegram to view this post
VIEW IN TELEGRAM
#angular #signals #inject #guide
On the first screen, we have a ParentComponent that passes data to a ChildComponent, which in turn passes the data to an InnerChildComponent. This is a simple example.
On the second screen, the example will help you to remove prop drilling from your Angular applications and make your code more maintainable and easier to understand.
β Article link
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
#js #interview #jsonp
Analysis: Create the script node script.src, set the callback function callbackName, parse the parameters and splice the URL, dynamically insert it into the body to implement JSONP cross-domain request, and return the Promise interface.
Please open Telegram to view this post
VIEW IN TELEGRAM
#js #interview #deepClone
Analysis: Recursively implement deep cloning of objects and arrays, returning basic types directly, and reference types recursively call deep cloning hierarchically.
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from Angular πΊπ¦ - practical notes
Hello, friends!
As you can see, I'm a Ukrainian software engineer who tries to do volunteer fundraisers to support the Armed Forces of Ukraine. Sometimes it takes a lot of time and I am not able to maintain this channel for you. Please help me close these fundraisers because without the Ukrainian army there will be nothing Ukrainian. Thank you very much!
π΅ FOR Ukraine:
https://send.monobank.ua/jar/5TvPibajtR
5375 4114 1222 8582
π FOR ALL DONATS:
π΅ SWIFT code: UNJSUAUKXXX
π΅ PayPal: luckystudydanit@gmail.com
My profile with reports after closing fundraiser :
https://www.facebook.com/volunt2erua/
also all reports in ourπ channel:
https://t.me/toxicc_squad
As you can see, I'm a Ukrainian software engineer who tries to do volunteer fundraisers to support the Armed Forces of Ukraine. Sometimes it takes a lot of time and I am not able to maintain this channel for you. Please help me close these fundraisers because without the Ukrainian army there will be nothing Ukrainian. Thank you very much!
π΅ FOR Ukraine:
https://send.monobank.ua/jar/5TvPibajtR
5375 4114 1222 8582
π FOR ALL DONATS:
π΅ SWIFT code: UNJSUAUKXXX
π΅ PayPal: luckystudydanit@gmail.com
My profile with reports after closing fundraiser :
https://www.facebook.com/volunt2erua/
also all reports in our
https://t.me/toxicc_squad
Please open Telegram to view this post
VIEW IN TELEGRAM
β€2
#js #interview #deepClone #patterns
Analysis: Currying of the add function is achieved by recursively calling a function that continues to accept parameters.
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
π1
#angular #error #interceptor
β οΈ The example is for presentation purposes only and can be refactored.
β Article link
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
π1
#js #interview #promise
Analysis: Use the Promise.all principle to synchronize the Promise state through the counter and result array.
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
π1