JavaScript (JS) is a lightweight, interpreted, or just-in-time compiled programming language with first-class functions. While it is most well-known as the scripting language for Web pages, many non-browser environments also use it, such as Node.js, Apache CouchDB and Adobe Acrobat. JavaScript is a prototype-based, multi-paradigm, single-threaded, dynamic language, supporting object-oriented, imperative, and declarative (e.g. functional programming) styles.
JavaScript programs for Developer to find some helps to write a program or code.
Javascript Variables is a container for storing data values Example :
var x = 10;
var y = 5;
console.log(x);x is variable and store 10 as values y is variable and store 5 as values
Reference : w3schools, editor : wahyuamirulloh
Comments is syntax for developing purpose, comment doesn't executed to browser Example :
// This is a single-line comment
/* This is first multi-line comment
This is multi-line comment
this is the end of multi-line comment */// is used for write single line comment /.../ is used for write multi-line comment
Reference : w3schools, editor : wahyuamirulloh
You can assignment variable with (=) operators Example :
var x = 10;
var y = 5;You can perform arithmetic with javascript Example :
var x = 10;
var plus = x + 20;
var minus = x - 5;
var times = x * 20;
var divide = x / 2;
var modulus = x % 3;
var exp = x ** 2;(+) is for Addition (-) is for Substraction (*) is for Multiplication (/) is for Division (%) is for Modulus (**) is for exponentation
You can perform arithmetic more efficient with assignment arithmetic Example :
var x = 10;
x += 20;
x -= 5;
x *= 20;
x /= 2;Reference : w3schools, editor : wahyuamirulloh
-
This repos Will Help to JavaScript Developer(:heart:) to write a program or code.
-
This repo will be go beginner to .................
- How to print in JavaScript
- while loop in JavaScript
- Objects in JavaScript
- Strings in JavaScript
- Switch case in Javascript
- claim whichever issue you want.
- search for an example or code in another language (e.g. ruby) that would be a better solution for your issue
- create file with the title of the issue as the filename(.md ), and paste some code showing an example of that issue
- Update in Readme.md file
- create a pull request
❤️ ❤️ ❤️
JavaScript
Add info what you know in JavaScript and update any algorithm or any other
