JavaScript
console.log("Hello, World!");
// For HTML document
document.write("Hello, World!");
PrototypeCodec
console.log("Hello, World!");
// For HTML document
document.write("Hello, World!");
let str = "12345.00";
str = str.substring(0, str.length - 1);
/**
* Delay for a number of milliseconds
*/
function sleep(delay) {
var start = new Date().getTime();
while (new Date().getTime() < start + delay);
}
JavaScript, often abbreviated JS, is a programming language that is one
of the core technologies of the World Wide Web, alongside HTML and CSS.
Over 97% of websites use JavaScript on the client side for web page behavior,
often incorporating third-party libraries.
#include<stdio.h>
#include<conio.h>
void main()
{
char choise;
char hel;
int p,k,g;
int b,c,e;
printf("\n Welcome to GM Program :) \n\n It's a one time usalbe program so you can start the program again and again");
printf("\n\n Type 't' for Tables");
printf("\n\n Type 'h' for ASMD is Add,Sub,Mul,Div");
printf("\n\n Enter :- ");
scanf("%c",&choise);
switch(choise)
{
case 't':
printf("\n\n Enter a number to make the table :- ");
scanf("%d",&p);
for(k=1;k<11;k++)
{
g=p*k;
printf("\n\n %dx%d=%d",p,k,g);
}
break;
case 'h':
printf("\n\n Type 'a' for add \n\n Type 's' for sub \n\n Type 'm' for mul \n\n Type 'd' for div");
printf("\n\n Enter :- ");
scanf("%s",&hel);
switch(hel)
{
case 'a':
printf("\n\n Enter two number to add :- ");
scanf("%d%d",&b,&c);
e=b+c;
printf("\n\n Your answer :- %d+%d=%d",b,c,e);
break;
case 's':
printf("\n\n Enter two number to sub :- ");
scanf("%d%d",&b,&c);
e=b-c;
printf("\n\n Your answer :- %d-%d=%d",b,c,e);
break;
case 'm':
printf("\n\n Enter two number to mul :- ");
scanf("%d%d",&b,&c);
e=b*c;
printf("\n\n Your answer :- %dx%d=%d",b,c,e);
break;
case 'd':
printf("\n\n Enter two number to div :- ");
scanf("%d%d",&b,&c);
e=b/c;
printf("\n\n Your answer :- %d/%d=%d",b,c,e);
break;
}
}
getch();
return 0;
}
console.log(15)
let num = 10;
console.log(Number.isInteger(num)); // 2
0a3eb332892c14227c97ed8390936741
Cannot GET /api/items/a1dda179-c495-45a4-91d7-11e889be822b
[
{
"userId":1,
"username":"sobir",
"contact":"998941049914"
},
{
"userId":2,
"username":"rahim",
"contact":"998941049914"
},
{
"userId":3,
"username":"ilhom"
,"contact":"998941049914"
}
]