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
Predict the output of the following JavaScript code.

<script type="text/javascript"> var a="LearnJavascript"; var x=a.lastIndexOf("a"); document.write(x); </script>
Anonymous Quiz
41%
8
12%
0
5%
9
42%
Error
JavaScript Tip 💡

Instead of using find(), or manually searching a list for an occurrence, use the array method some() instead.

It’s built for exactly that purpose.

#Javascripttip
A long list of JavaScript questions that can help you in your next interview 🚀

🖇️
https://github.com/lydiahallie/javascript-questions
Predict the output of the following JavaScript code.

<script type="text/javascript" language="javascript"> var a = "LearnJavascript"; var result = a.substring(4, 5); document.write(result); </script>
Anonymous Quiz
50%
nJ
10%
pt
30%
n
10%
r
This media is not supported in your browser
VIEW IN TELEGRAM
Sketch2Code is a solution that uses AI to transform a handwritten user interface design from a picture to valid HTML markup code.

This is an open-source project by Microsoft and can be found at

https://github.com/Microsoft/ailab/tree/master/Sketch2Code
Improve your resume and Linked-In profile with this online platform.


#resume #career #job #tools #linkedin


https://resumeworded.com
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/