What is the HTML tag under which one can write the JavaScript code?
  Anonymous Quiz
    11%
    <javascript>
      
    2%
    <scripted>
      
    84%
    <script>
      
    3%
    <js>
      
    Java Script entities start with ____________ and end with ______________
  Anonymous Quiz
    15%
    Semicolon, colon
      
    8%
    Semicolon, Ampersand
      
    15%
    Ampersand, colon
      
    61%
    Ampersand, semicolon
      
    Predict the output of the following JavaScript code.
<script type="text/javascript"> var a="LearnJavascript"; var x=a.lastIndexOf("a"); document.write(x); </script>
  <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
  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
  🖇️ 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>
  <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
  This is an open-source project by Microsoft and can be found at
https://github.com/Microsoft/ailab/tree/master/Sketch2Code
Forwarded from Programming World👨💻
  
  7 Awesome APIs for All Frontend Developers
https://javascript.plainenglish.io/7-awesome-apis-for-all-frontend-developers-a06c1057661
#api #public
  https://javascript.plainenglish.io/7-awesome-apis-for-all-frontend-developers-a06c1057661
#api #public
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
  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>
  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>
  <script> document.write(typeof(24.49)); </script>
Anonymous Quiz
    52%
    float
      
    27%
    number
      
    9%
    integer
      
    13%
    double
      
    Here are some good questions to ask at the end of the interview, extracted from various sources.
#interview #questions #question #answer #answers #book #handbook #list #awesome
https://github.com/yangshun/tech-interview-handbook/blob/master/contents/questions-to-ask.md
  #interview #questions #question #answer #answers #book #handbook #list #awesome
https://github.com/yangshun/tech-interview-handbook/blob/master/contents/questions-to-ask.md
Alternative to html2canvas in Vue JS with other libraries
https://javascript.plainenglish.io/a-better-alternative-to-html2canvas-in-vuejs-3-e0686755d56e
---
#vue #html2canvas
  https://javascript.plainenglish.io/a-better-alternative-to-html2canvas-in-vuejs-3-e0686755d56e
---
#vue #html2canvas
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()