PHP INTEGER à JS INTEGER

var str = "<?php echo $phpVariable; ?>";
var str = "<?= $phpVariable ?>";
adgbe