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 */
';
jQuery is a fast, small, and feature-rich JavaScript library. It simplifies things like HTML document traversal and manipulation, event hand...
1. For Loop: for ( let i = 0 ; i < array . length ; i ++ ) { console . log ( array [ i ] ) ; } Pros: Readable and commonly ...
Modern JavaScript (ES6+) is the latest version of the JavaScript programming language, which includes features and syntax enhancements intro...
The programming language you should learn depends on your interests, career goals, and the type of software development you want to pur...
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...