Home | HTML Hacks | Data Types Hacks | DOM Hacks | JavaScript Hacks | JS Debugging Hacks |
%%js
var a = 6;
var b = 3;
if (a > b) {
console.log("a is greater");
}
if (b > a) {
console.log("b is greater");
}
if (a === b) {
console.log("both are equal");
}
<IPython.core.display.Javascript object>