This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const data = [1,2,35,4,3,2,1]; | |
for(const item of data) { | |
console.log(item); | |
} | |
/*here fetch is imaginary function*/ | |
const data = [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This example shows settings to use when sending via Google's Gmail servers. | |
*/ | |
//SMTP needs accurate times, and the PHP time zone MUST be set | |
//This should be done in your php.ini, but this is how to do it if you don't have access to that | |
date_default_timezone_set('Etc/UTC'); | |
require 'phpmailer/PHPMailerAutoload.php'; |