languages: - Ruby - Perl - Python websites: YAML: yaml.org Ruby: ruby-lang.org Python: python.org Perl: user.perl.org
转为JavaScript
{
languages: [ 'Ruby', 'Perl', 'Python'],
websites:
{
YAML: 'yaml.org',
Ruby: 'ruby-lang.org',
Python: 'python.org',
Perl: 'user.perl.org'
}
}