examples/websocket-chat-ts-run/web-server/public/js/client.js
function addUser(user) {
	var slElement = $(document.createElement("option"));
	slElement.attr("value", user);
	slElement.text(user);
	$("#usersList").append(slElement);
}
function addUser(user) {
	var slElement = $(document.createElement("option"));
	slElement.attr("value", user);
	slElement.text(user);
	$("#usersList").append(slElement);
}
function addUser ( user ) { var slElement = $ ( document . createElement ( "option" ) ) ; slElement . attr ( "value" , user ) ; slElement . text ( user ) ; $ ( "#usersList" ) . append ( slElement ) ; }
add user in user list
add user in user list