halefx.dev

View project on GitHub

I’m a creative problem-solver with an interest in semantic web development.

You can contact me on LinkedIn.

Drupal

Field

Field Formatter

Views

Default Argument

This is the code for a default argument

<?php
  $var = 500;
  print "hello":
function sayHello(name) {
    if (!name) {
        console.log('Hello World');
    } else {
        console.log(`Hello ${name}`);
    }  
}  

Contact Test

function sayHello(name) {
if (!name) {
console.log('Hello World');
} else {
console.log(`Hello ${name}`);
}  
}