Created
September 28, 2015 10:50
-
-
Save helloris25/78f1fe8ad51e17d46a8e to your computer and use it in GitHub Desktop.
Вывести массив PHP как объект JS в Битркис
This file contains 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
<script> | |
console.log(<? echo CUtil::PhpToJSObject($arResult, false, true); ?>); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment