Learn JavaScript
4.3K subscribers
459 photos
10 videos
132 files
3.02K links
All info, tutorial, JS tips and more ....!
bio.link/javascript_js_
For HTML: @html_web_learn
For CSS: @CSS_web_learn
For JS: @JavaScript_js_learn
For PHP: @learn_php_web
For Programming courses @Programmingworld_dev
For CEH,Cybersec: @technical_stark
Download Telegram
JavaScript Tip 💡

Did you know that you can cancel a fetch request using an AbortController?

A common use-case is React:
If a component unmounts while a fetch call is awaited, it can be useful to abort the call.

#Javascripttip #Reacttip
<script type="text/javascript" language="javascript">

var x=5; var y=6; var res=eval("x*y"); document.write(res); </script>
Anonymous Quiz
19%
“30”
45%
30
17%
5*6
19%
"5*6"
What is the syntax for creating a function in JavaScript named as Learnjsfunc? 
Anonymous Quiz
27%
function = Learnjsfunc()
68%
function Learnjsfunc()
1%
function := Learnjsfunc()
4%
function : Learnjsfunc()
What is the correct syntax for adding comments in JavaScript?
Anonymous Quiz
22%
<!–This is a comment–>
69%
//This is a comment
1%
–This is a comment
8%
**This is a comment**
What will be the output of the following code?

<script> document.write(typeof(24.49)); </script>
Anonymous Quiz
52%
float
27%
number
9%
integer
13%
double
How to Use Environment Variables in VanillaJS

#js #env

https://bit.ly/3jfe5dn
What is the method in JavaScript used to remove the whitespace at the beginning and end of any string ?
Final Results
19%
strip()
69%
trim()
7%
stripped()
6%
trimmed()
JS Performance Tips: How to Speed up JavaScript Load Time

#js #performance

https://brainhub.eu/library/js-performance-tips/
JavaScript is a ________ Side Scripting Language.
Anonymous Quiz
45%
Server
1%
ISP
50%
Browser
4%
None of the above
JavaScript Tip 💡

In JavaScript, there are no classes.
It’s syntactical sugar added to please developers from other languages such as Java or C#.

Most of the time you can avoid using them altogether. Try.

Instead, use modules.

#Javascripttip
This media is not supported in your browser
VIEW IN TELEGRAM
Now is a great time to get certified 🚀

AWS is giving a free voucher for the following AWS practice exam:

- AWS Certified Developer - Associate

Sign up on this official website to request the practice exam:

https://bit.ly/2V4I51f

#aws
JavaScript: How to Redirect to Another Webpage

#js

https://bit.ly/3jRpfVN
Modern Full-Stack Developer Tech Stack 2021

https://bit.ly/2UxMucJ

#javascript #webdev #beginners #react
How to manage API calls in React ⚛️

https://bit.ly/2TIXHHq

#react #javascript #beginners #webdev