var mobil = { nama: "Mobil", jumlahBan: 4 };
kalau mau memasukan data-data pada mobil ke kelas truck :
var truk = Object.create(mobil);
berarti truk mempunyai data yang sama dengan mobil
var mobil = { nama: "Mobil", jumlahBan: 4 };
kalau mau memasukan data-data pada mobil ke kelas truck :
var truk = Object.create(mobil);
berarti truk mempunyai data yang sama dengan mobil
$config['base_url'] = 'http://localhost/codeigniter/';
dan pada setiap link yang di buat hanya tinggal menambah
$config['base_url'] = '';
sebelum menggunakan cara di atas, anda perlu memanggil helper url$config['base_url'] = '
* @see http://codeigniter.com/user_guide/general/urls.html
*/
public function index()
{
$this->load->helper('url');
$this->load->view('index');
}
}
/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */
';
Modern JavaScript (ES6+) is the latest version of the JavaScript programming language, which includes features and syntax enhancements intro...
To start using Node.js, you'll need to follow these steps: Install Node.js: Visit the official Node.js website ( https://nodejs.org/ ) a...
In the ever-evolving landscape of web development, JavaScript has emerged as a cornerstone technology, empowering developers to create dynam...
You can check if a key is available in JavaScript using the hasOwnProperty method or the in operator. Here's an example of how to us...
Introduction: In the dynamic landscape of web development, the ability to handle asynchronous operations is crucial for building responsive ...