Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var x=1;
- var y=-4;
- if (x>0 && y>0){
- console.log(1)}
- else if (x>0 && y<0){
- console.log(4)}
- else if (x<0 && y<0){
- console.log(3)}
- else {
- console.log(4)}
- J2:
- var N = 12;
- var k = 3;
- var x = N;
- for (var i = 1; i<=k;i++){
- x+= N*Math.pow(10,i);
- }
- console.log(x);
Add Comment
Please, Sign In to add comment