Answers for "javascript"

9

javascript

const array = [2, 5, 9];

console.log(array);

const index = array.indexOf(5);
if (index > -1) {
  array.splice(index, 1);
}

// array = [2, 9]
console.log(array);
Posted by: Guest on June-15-2020
3

javascript

let str = "12345.00";
str = str.substring(0, str.length - 1);
console.log(str);
Posted by: Guest on December-13-2019
1

javascript

'Hey'
var you = that;
'You searched'
document.getElementById('javascript').innerHTML = 'Javascript';
var then = 'On...';
alert('grepper!');
Posted by: Guest on September-15-2021
1

javascript

let str = "12345.00";
str = str.substring(0, str.length - 1);
Posted by: Guest on November-14-2020
2

javascript

What is JavaScript used for?
Adding interactive behavior to web pages. JavaScript allows users to interact with web pages. ...
Creating web and mobile apps. Developers can use various JavaScript frameworks for developing and building web and mobile apps. ...
Building web servers and developing server applications. ...
Game development.
Posted by: Guest on April-08-2021
2

javascript

<script>
    function f1() {
        var msg="this is the first program of javascript";
        document.write("hello "+msg.length);
    }
</script>
Posted by: Guest on May-19-2021
18

javascript

JavaScript, often abbreviated as JS, is a programming language that conforms
to the ECMAScript specification.
JavaScript is high-level, often just-in-time compiled, and multi-paradigm.
It has curly-bracket syntax, dynamic typing, prototype-based object-orientation,
and first-class functions.
Posted by: Guest on May-22-2020
3

javascript

const javascript = 'Hello world';

console.log(javascript);
Posted by: Guest on August-07-2021
0

javascript

I would like to program like a pro...
Posted by: Guest on April-11-2021
0

javascript

Javascript é uma linguagem capaz de desenvolver desde Páginas web até jogos
Posted by: Guest on December-14-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language