var a = 1;
if (a => 2) {
console.log('bigger');
} else {
console.log('smaller')
};
// bigger
すでに何人か引っかかったので。
もう 1 パターン追加。
var a = 1, b = 2, c = 3, d = 4;
var f = a => b ? c: d;
// f = ?
Go to list of users who liked
More than 5 years have passed since last update.
var a = 1;
if (a => 2) {
console.log('bigger');
} else {
console.log('smaller')
};
// bigger
すでに何人か引っかかったので。
もう 1 パターン追加。
var a = 1, b = 2, c = 3, d = 4;
var f = a => b ? c: d;
// f = ?
Register as a new user and use Qiita more conveniently
Go to list of users who liked