
Networks
bấm next qua 2 cái trên ảnh1. đáp án CALLBACK FUNCTIONS/** * Runs a callback function immediately * @param {function} callbackFunction */ function runCallback(callbackFunction) { callbackFunction(); } module.exports = runCallback; /** * Runs a callback function immediately * @param {function} callbackFunction */ function runCallback(callbackFunction) { setTimeout(callbackFunction, 1000); } module.exports = runCallback; class Dialog { onClose(callbackFunction) { this.carr = this.carr || []; th...

Sui Name Service ($SNS)
twitter :discord :Discord - Group Chat That's All Fun & GamesDiscord is great for playing games and chilling with friends, or even building a worldwide community. Customize your own space to talk, play, and hang out.https://discord.comIt's finally here! Join our Crew3 and earn your spot in the $SNS DAO ➤ http://snsdomains.crew3.xyz ➤ New Quests added Daily! 10 people to Like/RT this tweet will also be selected for the Stork role - Winners selected below. #Sui isn't ready. Let&a...

tương tác Harpie
liên kết víxem ví mình dùng cái nào thì chọn - ví hold token thì chọn cái trên , ví chơi nft thì chọn cái dưới hoặc chọn cả 2 cũng đcchọn cái nào muốn bảo vệđợi cho nó load xong và import token mạng eth hoặc nft nào mà mình muốn bảo vệadd bn token hay nft tùy thích - sau đó chọn protecttốn chút fee ethnhư vậy là xong bước 1tiếp theo chọn setupnhập địa chỉ ví - tốn fee eth - nhập 1 địa chỉ ví khác ví đang dùngtiếp theo đến bước 3chọn mint FAU - tốn fee ethBẤM protect faucet token - tốn fee eth...
vui vẻ

Networks
bấm next qua 2 cái trên ảnh1. đáp án CALLBACK FUNCTIONS/** * Runs a callback function immediately * @param {function} callbackFunction */ function runCallback(callbackFunction) { callbackFunction(); } module.exports = runCallback; /** * Runs a callback function immediately * @param {function} callbackFunction */ function runCallback(callbackFunction) { setTimeout(callbackFunction, 1000); } module.exports = runCallback; class Dialog { onClose(callbackFunction) { this.carr = this.carr || []; th...

Sui Name Service ($SNS)
twitter :discord :Discord - Group Chat That's All Fun & GamesDiscord is great for playing games and chilling with friends, or even building a worldwide community. Customize your own space to talk, play, and hang out.https://discord.comIt's finally here! Join our Crew3 and earn your spot in the $SNS DAO ➤ http://snsdomains.crew3.xyz ➤ New Quests added Daily! 10 people to Like/RT this tweet will also be selected for the Stork role - Winners selected below. #Sui isn't ready. Let&a...

tương tác Harpie
liên kết víxem ví mình dùng cái nào thì chọn - ví hold token thì chọn cái trên , ví chơi nft thì chọn cái dưới hoặc chọn cả 2 cũng đcchọn cái nào muốn bảo vệđợi cho nó load xong và import token mạng eth hoặc nft nào mà mình muốn bảo vệadd bn token hay nft tùy thích - sau đó chọn protecttốn chút fee ethnhư vậy là xong bước 1tiếp theo chọn setupnhập địa chỉ ví - tốn fee eth - nhập 1 địa chỉ ví khác ví đang dùngtiếp theo đến bước 3chọn mint FAU - tốn fee ethBẤM protect faucet token - tốn fee eth...
vui vẻ

Subscribe to meteosrds

Subscribe to meteosrds
Share Dialog
Share Dialog


<100 subscribers
<100 subscribers


function eitherNotBoth(num) {
if (num % 5 === 0) {
if (num % 3 === 0) {
return false;
} else {
return true;
}
} else {
if (num % 3 === 0) {
return true;
} else {
return false;
}
}
}
module.exports = eitherNotBoth;

function fizzBuzz(numbers) {
let str = "";
for (let i = 0; i < numbers.length; i++) {
if ((numbers[i] % 3 === 0) && (numbers[i] % 5 === 0)) {
str += "fizzbuzz";
} else if (numbers[i] % 5 === 0) {
str += "buzz";
} else if (numbers[i] % 3 === 0) {
str += "fizz";
}
}
return str;
}
module.exports = fizzBuzz;


function thisName() {
return this.name;
}
const newFunction = thisName.bind({ name: 'Bob' });
module.exports = newFunction;

function thisName() {
return this.name;
}
const newFunction = thisName.bind({ name: 'Bob' });
module.exports = newFunction;

const obj = {
name: 'Bob',
getName: function () {
return this.name;
}
}
module.exports = obj;

const fetchAge = require('./fetchAge');
function Celebrity(name) {
this.name = name;
const that = this;
fetchAge(this.name, function (age) {
that.age = age;
});
}
module.exports = Celebrity;


// Our Shape "Constructor"
function Shape(x, y) {
// store x and y in this.position
this.position = {x, y};
this.position.x = x;
this.position.y = y;
}
module.exports = Shape;

// Our Shape "Constructor"
function Shape(x, y) {
this.position = {x, y};
this.position.x = x;
this.position.y = y;
}
Shape.prototype.move = function(a, b) {
this.position.x += a;
this.position.y += b;
}
module.exports = Shape;

const Shape = require('./Shape');
function Circle(x, y, radius) {
Shape.call(this, x, y);
this.radius = radius;
}
module.exports = Circle;

const Shape = require('./Shape');
function Circle(x, y, radius) {
Shape.call(this, x, y);
this.radius = radius;
Circle.prototype = Object.create(Shape.prototype);
}
module.exports = Circle;

const Shape = require('./Shape');
function Rectangle(x, y, height, width) {
Shape.call(this, x, y);
this.height = height;
this.width = width;
Rectangle.prototype = Object.create(Shape.prototype);
Rectangle.prototype.flip = function () {
let t = this.width;
this.width = this.height;
this.height = t;
}
}
module.exports = Rectangle;

const Shape = require('./Shape');
function Rectangle(x, y, height, width) {
Shape.call(this, x, y);
this.height = height;
this.width = width;
Rectangle.prototype = Object.create(Shape.prototype);
Rectangle.prototype.flip = function () {
let t = this.width;
this.width = this.height;
this.height = t;
}
}
module.exports = Rectangle;

class Hero {
constructor() {
this.health = 50;
}
takeDamage(health) {
this.health -= health;
}
}
module.exports = Hero;

class Hero {
constructor() {
this.health = 50;
}
takeDamage(health) {
this.health -= health;
}
}
module.exports = Hero;

const Hero = require('./Hero');
class Warrior extends Hero {
constructor(health) {
super(health);
this.rage = 0;
}
takeDamage(health) {
this.rage += 1;
super.takeDamage(health);
}
}
module.exports = Warrior;

const Hero = require('./Hero');
class Warrior extends Hero {
constructor(health) {
super(health);
this.rage = 0;
}
takeDamage(health) {
this.rage += 1;
super.takeDamage(health);
}
}
module.exports = Warrior;

const Hero = require('./Hero');
class Warrior extends Hero {
constructor(health) {
super(health);
this.rage = 0;
}
takeDamage(health) {
this.rage += 1;
super.takeDamage(health);
}
}
module.exports = Warrior;

const Hero = require('./Hero');
class Warrior extends Hero {
constructor(health) {
super(health);
this.rage = 0;
}
takeDamage(health) {
this.rage += 1;
super.takeDamage(health);
}
}
module.exports = Warrior;

class Hero {
constructor(health) {
this.health = health;
}
takeDamage(health) {
this.health = this.health - health;
}
}
module.exports = Hero;
end


function eitherNotBoth(num) {
if (num % 5 === 0) {
if (num % 3 === 0) {
return false;
} else {
return true;
}
} else {
if (num % 3 === 0) {
return true;
} else {
return false;
}
}
}
module.exports = eitherNotBoth;

function fizzBuzz(numbers) {
let str = "";
for (let i = 0; i < numbers.length; i++) {
if ((numbers[i] % 3 === 0) && (numbers[i] % 5 === 0)) {
str += "fizzbuzz";
} else if (numbers[i] % 5 === 0) {
str += "buzz";
} else if (numbers[i] % 3 === 0) {
str += "fizz";
}
}
return str;
}
module.exports = fizzBuzz;


function thisName() {
return this.name;
}
const newFunction = thisName.bind({ name: 'Bob' });
module.exports = newFunction;

function thisName() {
return this.name;
}
const newFunction = thisName.bind({ name: 'Bob' });
module.exports = newFunction;

const obj = {
name: 'Bob',
getName: function () {
return this.name;
}
}
module.exports = obj;

const fetchAge = require('./fetchAge');
function Celebrity(name) {
this.name = name;
const that = this;
fetchAge(this.name, function (age) {
that.age = age;
});
}
module.exports = Celebrity;


// Our Shape "Constructor"
function Shape(x, y) {
// store x and y in this.position
this.position = {x, y};
this.position.x = x;
this.position.y = y;
}
module.exports = Shape;

// Our Shape "Constructor"
function Shape(x, y) {
this.position = {x, y};
this.position.x = x;
this.position.y = y;
}
Shape.prototype.move = function(a, b) {
this.position.x += a;
this.position.y += b;
}
module.exports = Shape;

const Shape = require('./Shape');
function Circle(x, y, radius) {
Shape.call(this, x, y);
this.radius = radius;
}
module.exports = Circle;

const Shape = require('./Shape');
function Circle(x, y, radius) {
Shape.call(this, x, y);
this.radius = radius;
Circle.prototype = Object.create(Shape.prototype);
}
module.exports = Circle;

const Shape = require('./Shape');
function Rectangle(x, y, height, width) {
Shape.call(this, x, y);
this.height = height;
this.width = width;
Rectangle.prototype = Object.create(Shape.prototype);
Rectangle.prototype.flip = function () {
let t = this.width;
this.width = this.height;
this.height = t;
}
}
module.exports = Rectangle;

const Shape = require('./Shape');
function Rectangle(x, y, height, width) {
Shape.call(this, x, y);
this.height = height;
this.width = width;
Rectangle.prototype = Object.create(Shape.prototype);
Rectangle.prototype.flip = function () {
let t = this.width;
this.width = this.height;
this.height = t;
}
}
module.exports = Rectangle;

class Hero {
constructor() {
this.health = 50;
}
takeDamage(health) {
this.health -= health;
}
}
module.exports = Hero;

class Hero {
constructor() {
this.health = 50;
}
takeDamage(health) {
this.health -= health;
}
}
module.exports = Hero;

const Hero = require('./Hero');
class Warrior extends Hero {
constructor(health) {
super(health);
this.rage = 0;
}
takeDamage(health) {
this.rage += 1;
super.takeDamage(health);
}
}
module.exports = Warrior;

const Hero = require('./Hero');
class Warrior extends Hero {
constructor(health) {
super(health);
this.rage = 0;
}
takeDamage(health) {
this.rage += 1;
super.takeDamage(health);
}
}
module.exports = Warrior;

const Hero = require('./Hero');
class Warrior extends Hero {
constructor(health) {
super(health);
this.rage = 0;
}
takeDamage(health) {
this.rage += 1;
super.takeDamage(health);
}
}
module.exports = Warrior;

const Hero = require('./Hero');
class Warrior extends Hero {
constructor(health) {
super(health);
this.rage = 0;
}
takeDamage(health) {
this.rage += 1;
super.takeDamage(health);
}
}
module.exports = Warrior;

class Hero {
constructor(health) {
this.health = health;
}
takeDamage(health) {
this.health = this.health - health;
}
}
module.exports = Hero;
end
No activity yet