Example 1
ข้อมูลเข้า
function hello(name) {
// say hi
console.log('Hello ' + name);
}
hello('ToolsOnline');
ผลลัพธ์
Minify JavaScript code quickly in your browser.
บางเครื่องมือทำงานในเบราว์เซอร์ของคุณ บางฟีเจอร์อาจต้องประมวลผลบนเซิร์ฟเวอร์
function hello(name) {
// say hi
console.log('Hello ' + name);
}
hello('ToolsOnline');
const items = [1, 2, 3];
items.forEach((x) => {
if (x % 2 === 0) {
console.log(x);
}
});