WordPress at a glance
function is not described

wc_enqueue_js() WC 1.0

Queue some JavaScript code to be output in the footer.

No Hooks.

Return

null. Nothing.

Usage

wc_enqueue_js( $code );
$code(string) (required)
Code.

Code of wc_enqueue_js() WC 5.3.0

<?php
function wc_enqueue_js( $code ) {
	global $wc_queued_js;

	if ( empty( $wc_queued_js ) ) {
		$wc_queued_js = '';
	}

	$wc_queued_js .= "\n" . $code . "\n";
}